updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / 915resolution / 915resolution.rc.d
blobe783d87793d9b4485aa7a1c7daea39089e797cb0
1 #!/bin/bash
3 . /etc/rc.conf
4 . /etc/rc.d/functions
5 . /etc/conf.d/915resolution
7 case "$1" in
8 start)
9 stat_busy "Patching the VBIOS"
10 /usr/sbin/915resolution $MODE $RESOLUTION >/dev/null
11 if [ $? -gt 0 ]; then
12 stat_fail
13 else
14 stat_done
17 stop)
18 /bin/true
20 restart)
21 $0 stop
22 sleep 1
23 $0 start
26 echo "usage: $0 {start|stop|restart}"
28 esac