summaryrefslogtreecommitdiff
blob: 8e2be4e434b46f4d1769544ca0a632a7e1bf97c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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/rp-l2tp/files/rp-l2tpd-init,v 1.2 2004/07/14 23:19:08 agriffis Exp $

depend() {
	need net
}

start() {
	ebegin "Starting rp-l2tpd"
	start-stop-daemon --start --quiet --exec /usr/sbin/rp-l2tpd
	eend $?
}

stop() {
	ebegin "Stopping rp-l2tpd"
	start-stop-daemon --stop --quiet --exec /usr/sbin/rp-l2tpd
	eend $?
}