diff options
author | Judd Vinet <judd@archlinux.org> | 2005-03-11 20:02:08 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-03-11 20:02:08 +0000 |
commit | 8aff6add70fd50b3febe363a0002098f21e2679b (patch) | |
tree | 23e82142270176251fbb0e4ce05171e763fddda6 /rc.multi | |
parent | 22805e822d4e9fee9c1f4331dee31bccd1db45d2 (diff) | |
download | initscripts-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-x | rc.multi | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |