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
binutils: allow static linking
[openadk.git]
/
package
/
miredo
/
files
/
miredo.init
blob
8d83a215af5d639bcf31028279562dbe4a95814d
1
#!/bin/sh
2
#PKG miredo
3
#INIT 60
4
5
.
/
etc
/
rc.conf
6
7
case
$1
in
8
autostop
) ;;
9
autostart
)
10
test
x
"
${miredo:-NO}
"
=
x
"NO"
&&
exit
0
11
test
x
"
$miredo
"
=
x
"DAEMON"
&&
test -x
/
bin
/
mksh
&&
exec
mksh
-T-
$0
start
12
exec
sh
$0
start
13
;;
14
start
)
15
/
usr
/
sbin
/
miredo
16
;;
17
stop
)
18
kill
$
(
pgrep
-f
/
usr
/
sbin
/
miredo
)
19
;;
20
restart
)
21
sh
$0
stop
22
sh
$0
start
23
;;
24
*)
25
echo
"usage:
$0
{start | stop | restart}"
26
exit
1
27
esac
28
exit
$?