blob: 36501b3246064099abbdb73b055d86ad46bd80e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/runscript
depend() {
need localmount
use logger net
}
start() {
test -x /opt/scratchbox/sbin/sbox_ctl || \
eend 1 "scratchbox init script not found. Aborting" || return 1
/opt/scratchbox/sbin/sbox_ctl start
return $?
}
stop() {
test -x /opt/scratchbox/sbin/sbox_ctl || \
eend 1 "scratchbox init script not found. Aborting" || return 1
/opt/scratchbox/sbin/sbox_ctl stop
return $?
}
|