From f83bb76907866b09223c24d73098f787ed667c89 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 14 Mar 2001 22:46:40 +0000 Subject: --background is fundamentally broken. Remove it for now. --- rc.d/init.d/functions | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'rc.d/init.d/functions') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index a07ff7e5..638f32d5 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -100,10 +100,6 @@ daemon() { user=${1#--user=} shift ;; - --bg|--background) - bg="&" - shift - ;; [-+][0-9]*) nice="nice -n $1" shift @@ -130,9 +126,9 @@ daemon() { # And start it up. if [ -z "$user" ]; then - $nice initlog $INITLOG_ARGS -c "$*" "$bg" + $nice initlog $INITLOG_ARGS -c "$*" else - $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" "$bg" && success $"$base startup" || failure $"$base startup" + $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" && success $"$base startup" || failure $"$base startup" fi [ $? = 0 ] && success $"$base startup" || failure $"$base startup" } -- cgit v1.2.1