aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-xrc.d/init.d/functions8
1 files changed, 2 insertions, 6 deletions
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"
}