Check if STK1002 init scripts are executable before running

This commit is contained in:
Ulf Samuelsson 2007-09-20 16:46:31 +00:00
parent 1120408d61
commit 94cff5a265

View File

@ -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