summaryrefslogtreecommitdiff
path: root/packages/xserver-kdrive-common/xserver-nodm-init
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xserver-kdrive-common/xserver-nodm-init')
-rwxr-xr-xpackages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm19
1 files changed, 7 insertions, 12 deletions
diff --git a/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm b/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
index 2251c6aab2..28ba65cd52 100755
--- a/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
+++ b/packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm
@@ -19,18 +19,13 @@ done
case "$1" in
start)
- # We don't want this script to block the rest of the boot process
- if [ "$2" != "background" ]; then
- $0 $1 background &
- else
- . /etc/profile
- [ -z $LOGNAME ] && export LOGNAME=root && export HOME=/home/root
- [ -z $HOME ] && export HOME=/home/$LOGNAME
-
-
- echo "Starting Xserver"
- /etc/X11/Xserver &
- fi
+ . /etc/profile
+ [ -z $LOGNAME ] && export LOGNAME=root && export HOME=/home/root
+ [ -z $HOME ] && export HOME=/home/$LOGNAME
+
+
+ echo "Starting Xserver"
+ /etc/X11/Xserver &
;;
stop)