aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-03-11 20:02:08 +0000
committerJudd Vinet <judd@archlinux.org>2005-03-11 20:02:08 +0000
commit8aff6add70fd50b3febe363a0002098f21e2679b (patch)
tree23e82142270176251fbb0e4ce05171e763fddda6 /rc.multi
parent22805e822d4e9fee9c1f4331dee31bccd1db45d2 (diff)
downloadinitscripts-8aff6add70fd50b3febe363a0002098f21e2679b.tar.xz
added support for backgrounding daemons at startup with a '@' prefix, commented out the ldconfig call at startup, added support for unicode console maps, added a hotplug_ifup() function rc.d/network for hotplug's net.agent to use
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