Gentoo Archives: gentoo-user

From: "Norman Rieß" <norman@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] adsl rp-pppoe - new baselayout problem
Date: Mon, 12 Jun 2006 22:02:37
Message-Id: 448DE083.1000800@smash-net.org
In Reply to: [gentoo-user] adsl rp-pppoe - new baselayout problem by "Francisco J. A. Ares"
1 Francisco J. A. Ares schrieb:
2 > but
3 > I'd prefer to go back to the init script.
4 >
5 > Thanks
6 > Francisco
7 >
8 The old rp-pppoe init script works without problems on my up-to-date
9 gentoo router. I prefer this way, too.
10
11
12 If you need it, here is the script:
13
14 bragi ~ # cat /etc/init.d/rp-pppoe
15 #!/sbin/runscript
16 # Copyright 1999-2004 Gentoo Foundation
17 # Distributed under the terms of the GNU General Public License v2
18 # $Header:
19 /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/files/rp-pppoe.rc,v 1.7
20 2004/10/07 22:06:53 eradicator Exp $
21
22 depend() {
23 use net
24 after domainname
25 }
26
27 start() {
28 ebegin "Starting adsl"
29 start-stop-daemon --start --quiet --exec /usr/sbin/pppoe-start
30 eend $?
31 }
32
33 stop() {
34 ebegin "Stopping adsl"
35 start-stop-daemon --start --quiet --exec /usr/sbin/pppoe-stop
36 eend $?
37 }
38
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: adsl rp-pppoe - new baselayout problem "Sven Köhler" <skoehler@×××.de>