public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Norman Rieß" <norman@smash-net.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] adsl rp-pppoe - new baselayout problem
Date: Mon, 12 Jun 2006 23:45:39 +0200	[thread overview]
Message-ID: <448DE083.1000800@smash-net.org> (raw)
In-Reply-To: <448C5EAC.8030603@terra.com.br>

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 $?
}

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-06-12 22:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11 18:19 [gentoo-user] adsl rp-pppoe - new baselayout problem Francisco J. A. Ares
2006-06-11 18:29 ` Raymond Lewis Rebbeck
2006-06-11 19:15   ` Francisco J. A. Ares
2006-06-11 19:13 ` [gentoo-user] " Sven Köhler
2006-06-11 20:59   ` Francisco J. A. Ares
2006-06-12  0:51 ` [gentoo-user] " Philip Webb
2006-06-12 21:45 ` Norman Rieß [this message]
2006-06-12 22:27   ` [gentoo-user] " Sven Köhler
2006-06-13  6:56     ` Norman Rieß
2006-06-13 16:55       ` Sven Köhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=448DE083.1000800@smash-net.org \
    --to=norman@smash-net.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox