mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
xserver-nodm: do not run itself in background
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4792 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
|
||||
LICENSE = "GPL"
|
||||
SECTION = "x11"
|
||||
PRIORITY = "optional"
|
||||
PR = "r10"
|
||||
PR = "r11"
|
||||
|
||||
SRC_URI = "file://xserver-nodm"
|
||||
S = ${WORKDIR}
|
||||
|
||||
@@ -16,15 +16,9 @@ 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
|
||||
|
||||
echo "Starting Xserver"
|
||||
/etc/X11/Xserver &
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
|
||||
Reference in New Issue
Block a user