xserver-nodm-init: Make sure kdrive servers have the console keyboard enabled

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-02-11 16:09:49 +00:00
parent e49fcdcc8b
commit a0795895e3
2 changed files with 4 additions and 8 deletions

View File

@ -30,12 +30,9 @@ ARGS=" -br -pn"
if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
. /etc/formfactor/config
. /etc/formfactor/config
# use ucb 1x00 touchscreen if present
if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/touchscreen/ucb1x00 ]; then
ARGS="$ARGS -mouse /dev/touchscreen/ucb1x00"
fi
ARGS="$ARGS -keybd keyboard"
# use usb mouse if present
if [ -z "$TSLIB_TSDEVICE" ] && [ -e /dev/input/mice ]; then
@ -78,4 +75,3 @@ fi
DISPLAY=':0'
exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $*

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
PR = "r21"
PR = "r22"
RDEPENDS_${PN} = "dbus-wait sudo"
SRC_URI = "file://xserver-nodm"
@ -14,7 +14,7 @@ do_install() {
install -d ${D}/etc
install -d ${D}/etc/init.d
install xserver-nodm ${D}/etc/init.d
}
}
inherit update-rc.d