aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.multi b/rc.multi
index c68252a..24eaf28 100755
--- a/rc.multi
+++ b/rc.multi
@@ -8,11 +8,14 @@
# Start daemons
for daemon in "${DAEMONS[@]}"; do
- /etc/rc.d/$daemon start
+ if [[ `echo $daemon | grep '^[^\!]' | wc -l` -eq 1 ]]; then
+ /etc/rc.d/$daemon start
+ fi
done
if [ -x /etc/rc.local ]; then
/etc/rc.local
fi
+read
# End of file