1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

xserver-nodm: Remove another fork, no need to use cat here

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5081 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-08-19 21:34:21 +00:00
parent 37d9ffa5d4
commit 513bf3ac50
2 changed files with 3 additions and 2 deletions
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
PR = "r16"
PR = "r17"
RDEPENDS = "dbus-wait"
SRC_URI = "file://xserver-nodm"
@@ -13,7 +13,8 @@ killproc() { # kill the named process(es)
[ "$pid" != "" ] && kill $pid
}
for x in $(cat /proc/cmdline); do
read CMDLINE < /proc/cmdline
for x in $CMDLINE; do
case $x in
x11=false)
echo "X Server disabled"