mirko 8427fa2fd4 added modified Xfbdev kdrive server with acceleration support for the glamo graphics chip
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 13:39:02 +00:00

21 lines
406 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=99
ARGS=""
screen() {
local cfg="$1"
config_get resolution $cfg resolution
config_get dpi $cfg dpi
[ -n "$resolution" ] && ARGS="$ARGS -screen $resolution"
[ -n "$dpi" ] && ARGS="$ARGS -dpi $dpi"
}
start() {
config_load x11
config_foreach screen screen
TSLIB_TSDEVICE="/dev/event1" Xglamo $ARGS &
DISPLAY=":0" WM & # workaround
}