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