summaryrefslogtreecommitdiffstats
path: root/target/device
diff options
context:
space:
mode:
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