summaryrefslogtreecommitdiff
blob: 3cf0e3af7d8e84cd67cb0c62983adb21069f7ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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-pppoe/files/rp-pppoe.rc,v 1.6 2004/09/24 00:40:36 dragonheart Exp $

depend() {
	provide net
	after domainname
}

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

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