blob: f9155b4cbcfc98df1b86ecf598f4aea1a64ec1c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/runscript
depend() {
need net
}
start() {
ebegin "Starting accel-pptpd"
start-stop-daemon --start --quiet --exec /usr/sbin/accel-pptpd -- -p /var/run/pptpd.pid ${PPTPD_OPTS}
eend $?
}
stop() {
ebegin "Stopping accel-pptpd"
start-stop-daemon --stop --quiet --pidfile /var/run/pptpd.pid
result=$?
start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/accel-pptpd
result=$(( $result + $? ))
eend $result
}
|