You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
518 B
24 lines
518 B
13 years ago
|
#!/sbin/runscript
|
||
|
# Copyright 1999-2004 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/net-dialup/dwun/files/dwun,v 1.3 2004/07/14 23:15:37 agriffis Exp $
|
||
|
|
||
|
depend() {
|
||
|
need net
|
||
|
}
|
||
|
|
||
|
DAEMON=/usr/sbin/dwun
|
||
|
PIDFILE=/var/run/dwun.pid
|
||
|
|
||
|
start() {
|
||
|
ebegin "Starting dwun"
|
||
|
start-stop-daemon --start --pidfile ${PIDFILE} --startas ${DAEMON}
|
||
|
eend $?
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
ebegin "Stopping dwun"
|
||
|
start-stop-daemon --stop --signal 1 --pidfile ${PIDFILE}
|
||
|
eend $?
|
||
|
}
|