TIVI-248 & TIVI-267: remove -sharevts option from startx.
[profile/ivi/xorg-x11-server-misc.git] / arm-common / xresources
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6   start|stop|restart|reload|force-reload)
7   # Setting dpi to 72
8     if [ -x /usr/bin/xrdb ]; then
9       if [ -e ~/.Xresources ]; then
10                 /usr/bin/xrdb -load -nocpp ~/.Xresources
11       else
12         /usr/bin/xrdb -load -nocpp /opt/etc/X11/Xresources
13       fi
14       vconftool set -t int memory/hibernation/xresources_ready 1 -i -f
15     fi
16   ;;
17
18   status)
19     if [ -x /usr/bin/xrdb ]; then
20       /usr/bin/xrdb -query -nocpp
21     fi
22   ;;
23
24   *)
25     echo "Usage: /etc/init.d/xresource {start|stop|status|restart|reload|force-reload}"
26     exit 1
27     ;;
28 esac
29
30 exit 0