TIVI-317: make scim start in the background
[profile/ivi/xorg-x11-server-misc.git] / i386-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     fi
15   ;;
16
17   status)
18     if [ -x /usr/bin/xrdb ]; then
19       /usr/bin/xrdb -query -nocpp
20     fi
21   ;;
22
23   *)
24     echo "Usage: /etc/init.d/xresource {start|stop|status|restart|reload|force-reload}"
25     exit 1
26     ;;
27 esac
28
29 exit 0