summaryrefslogtreecommitdiffstats
path: root/build/rootfs/bin/load_fbgui.sh
blob: ca592b97697e5b50833ab82695227dc4eaffaed5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

export QWS_MOUSE_PROTO=IntelliMouse:/dev/mice
export QWS_KEYBOARD=TTY:/dev/tty0
fbgui_options=""
[ $(grep -c debug /proc/cmdline) -ge 1  ] && fbgui_options="$fbgui_options -D 1"
/bin/fbgui $fbgui_options 2>/dev/null
[ -f "/tmp/debuglevel" ] && . /tmp/debuglevel

[ $DEBUGLEVEL -ge 1 ] && /bin/sh