blob: 349020b6157eed3f5de758c9c31b36dd6d691b90 (
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
25
26
|
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net coda-update auth2
use logger
after domainname
}
start() {
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --background \
--exec /usr/sbin/codasrv
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
volmsg=`/usr/sbin/volutil shutdown 2>&1` || echo "${volmsg}"
start-stop-daemon --stop \
--retry 30/TERM --oknodo \
--exec /usr/sbin/codasrv
eend $?
}
|