From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: if-up et al script relocation
Date: Wed, 13 Feb 2008 22:20:41 +0000 [thread overview]
Message-ID: <20080213222041.GE3048@hp.com> (raw)
In-Reply-To: <15468731.post@talk.nabble.com>
You can relocate them by producing a custom build of pppd with a changed
value for the _PATH_IPUP define in pathnames.h.
You can also write a plug-in for your application that uses the
ip_up_hook() to call your own script using ipcp_script(). Plugins are
selected by pppd options.
Debian carries a patch to pppd that iterates through each script in
/etc/ppp/if-up.d ... this can also be found in Ubuntu ... it is made
more useful setting ipparam on the pppd options, and testing the value
within the scripts.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
next prev parent reply other threads:[~2008-02-13 22:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 21:46 if-up et al script relocation bfc
2008-02-13 22:04 ` Marco d'Itri
2008-02-13 22:19 ` Eugene Paskevich
2008-02-13 22:20 ` James Cameron [this message]
2008-02-14 2:16 ` bfc
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=20080213222041.GE3048@hp.com \
--to=james.cameron@hp.com \
--cc=linux-ppp@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.