repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
lshwd
/
hwd
blob
2e47572b7da5205ee9a596eebc7377b2ad992bde
1
#!/bin/bash
2
3
.
/
etc
/
rc.conf
4
.
/
etc
/
rc.d
/
functions
5
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
14
fi
15
;;
16
stop
)
17
/
bin
/
true
18
;;
19
restart
)
20
$0
stop
21
sleep
1
22
$0
start
23
;;
24
*)
25
echo
"usage:
$0
{start|stop|restart}"
26
;;
27
esac