summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/rcS2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/init.d/rcS b/package/base-files/files/etc/init.d/rcS
index 61c1d6dab7..b44f441c14 100755
--- a/package/base-files/files/etc/init.d/rcS
+++ b/package/base-files/files/etc/init.d/rcS
@@ -3,6 +3,6 @@
{
for i in /etc/rc.d/$1*; do
- $i $2 2>&1
+ [ -x $i ] && $i $2 2>&1
done
} | logger -s -p 6 -t '' &