updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / lshwd / hwd
blob2e47572b7da5205ee9a596eebc7377b2ad992bde
1 #!/bin/bash
3 . /etc/rc.conf
4 . /etc/rc.d/functions
6 case "$1" in
7 start)
8 stat_busy "Autodetecting Hardware with lshwd"
9 lshwd -a >/dev/null
10 if [ $? -gt 0 ]; then
11 stat_fail
12 else
13 stat_done
16 stop)
17 /bin/true
19 restart)
20 $0 stop
21 sleep 1
22 $0 start
25 echo "usage: $0 {start|stop|restart}"
27 esac