aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi7
1 files changed, 6 insertions, 1 deletions
diff --git a/rc.multi b/rc.multi
index e33226e..3f34941 100755
--- a/rc.multi
+++ b/rc.multi
@@ -9,7 +9,12 @@
# Start daemons
for daemon in "${DAEMONS[@]}"; do
if [[ `echo $daemon | grep '^[^\!]' | wc -l` -eq 1 ]]; then
- /etc/rc.d/$daemon start
+ if [[ `echo $daemon | grep '^[^\@]' | wc -l` -eq 1 ]]; then
+ /etc/rc.d/$daemon start
+ else
+ stat_bkgd "Starting ${daemon:1}"
+ (/etc/rc.d/${daemon:1} start) &>/dev/null &
+ fi
fi
done