diff options
author | Chia-I Wu <olv@openmoko.com> | 2008-10-28 19:17:00 +0800 |
---|---|---|
committer | John Lee <john_lee@openmoko.org> | 2009-01-12 14:30:12 +0800 |
commit | dcd288f6787e3e4210efebd79acf047f7be505a1 (patch) | |
tree | a1b96b1474bd6d7376c10e0e0e337c7bf3aa2bba /packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | |
parent | c76ddb2942ac37892be4cad67932b1dc64a6177d (diff) |
fastboot: xserver-nodm-init: Start at 05.
Also remove unnecessary fork since /etc/X11/Xserver is always
backgrounded.
Diffstat (limited to 'packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm')
-rwxr-xr-x | packages/xserver-kdrive-common/xserver-nodm-init/xserver-nodm | 19 |
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) |