diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-09-20 16:46:31 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-09-20 16:46:31 +0000 |
commit | 94cff5a2658f30ac09f1450ff005d69a4032777d (patch) | |
tree | 7decc3a79218769da3329af4a9b3df36286dd9e4 | |
parent | 1120408d61061017a4157dca21fc84b404b15b02 (diff) |
Check if STK1002 init scripts are executable before running
-rwxr-xr-x | target/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS index 0d574e67b..a8ea85cdc 100755 --- a/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS +++ b/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS @@ -1,7 +1,9 @@ #!/bin/sh for s in /etc/init.d/S*; do - $s start + if [ -x $s ]; then + $s start + fi done echo |