blob: 5087dbd83c26c2ac7f33766431126c347bac2cb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/runscript
DARKICE_BIN="/usr/bin/darkice"
DARKICE_OPTS="-c /etc/darkice/darkice.cfg"
depend() {
need net
after firewall
}
start() {
ebegin "Starting DarkIce"
start-stop-daemon --start --exec $DARKICE_BIN \
-- $DARKICE_OPTS > /dev/null
eend $?
}
stop() {
ebegin "Stopping DarkIce"
start-stop-daemon --stop --exec $DARKICE_BIN
eend $?
}
|