repo.or.cz
/
openadk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
banana-pro: bring it in shape
[openadk.git]
/
package
/
ulogd
/
files
/
ulogd.init
blob
3d07f9b5f57c7091614fd091bad9ada9c7f691e1
1
#!/bin/sh
2
#PKG ulogd
3
#INIT 49
4
.
/
etc
/
rc.conf
5
6
case
$1
in
7
autostop
) ;;
8
autostart
)
9
test
x
"
${ulogd:-NO}
"
=
x
"NO"
&&
exit
0
10
test
x
"
$ulogd
"
=
x
"DAEMON"
&&
test -x
/
bin
/
mksh
&&
exec
mksh
-T-
$0
start
11
exec
sh
$0
start
12
;;
13
start
)
14
/
usr
/
sbin
/
ulogd
-d
15
;;
16
stop
)
17
kill
$
(
pgrep
-f
/
usr
/
sbin
/
ulogd
)
18
;;
19
restart
)
20
sh
$0
stop
21
sh
$0
start
22
;;
23
*)
24
echo
"usage:
$0
{start | stop | restart}"
25
exit
1
26
esac
27
exit
$?