0693afe4d93a7c35faea9923a6be0f22d16558e9
[adaptation/ap_samsung/xserver-xorg-misc-exynos.git] / wearable / 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 /etc/X11/Xresources
13       fi
14           mkdir -p /tmp/hibernation
15           touch /tmp/hibernation/xresources_ready
16     fi
17   ;;
18
19   status)
20     if [ -x /usr/bin/xrdb ]; then
21       /usr/bin/xrdb -query -nocpp
22     fi
23   ;;
24
25   *)
26     echo "Usage: /etc/init.d/xresource {start|stop|status|restart|reload|force-reload}"
27     exit 1
28     ;;
29 esac
30
31 exit 0