summaryrefslogtreecommitdiffstats
path: root/target/device
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-20 16:46:31 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-20 16:46:31 +0000
commit94cff5a2658f30ac09f1450ff005d69a4032777d (patch)
tree7decc3a79218769da3329af4a9b3df36286dd9e4 /target/device
parent1120408d61061017a4157dca21fc84b404b15b02 (diff)
downloadbuildroot-novena-94cff5a2658f30ac09f1450ff005d69a4032777d.tar.gz
buildroot-novena-94cff5a2658f30ac09f1450ff005d69a4032777d.zip
Check if STK1002 init scripts are executable before running
Diffstat (limited to 'target/device')
-rwxr-xr-xtarget/device/Atmel/atstk1002/target_skeleton/etc/init.d/rcS4
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