diff options
author | Anton Fiuman <llexiw@gmail.com> | 2008-05-25 00:55:56 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-05-27 16:27:20 +0200 |
commit | fa73767d19ea505ec32533b8856122968207db2f (patch) | |
tree | 0d9695f3a40b86b29076719029a5b14578927e23 /rc.multi | |
parent | 63db98c2a8e256f9219c5c6501b40846040bf089 (diff) | |
download | initscripts-fa73767d19ea505ec32533b8856122968207db2f.tar.xz |
Allow users to ovverride daemon start and stop in rc.multi and rc.shutdown
Signed-off-by: Anton Fiuman <llexiw@gmail.com>
Diffstat (limited to 'rc.multi')
-rwxr-xr-x | rc.multi | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -13,10 +13,9 @@ for daemon in "${DAEMONS[@]}"; do if [ "$daemon" = "${daemon#!}" ]; then if [ "$daemon" = "${daemon#@}" ]; then - /etc/rc.d/$daemon start + start_daemon $daemon else - stat_bkgd "Starting ${daemon:1}" - (/etc/rc.d/${daemon:1} start) &>/dev/null & + start_daemon_bkgd ${daemon:1} fi fi done |