Francisco J. A. Ares schrieb:
but
I'd prefer to go back to the init script.

Thanks
Francisco
The old rp-pppoe init script works without problems on my up-to-date gentoo router. I prefer this way, too.


If you need it, here is the script:

bragi ~ # cat /etc/init.d/rp-pppoe
#!/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.7 2004/10/07 22:06:53 eradicator Exp $

depend() {
       use net
       after domainname
}

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

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

--
[email protected] mailing list

Reply via email to