public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] PPP scripts
@ 2002-12-03 18:03 Johannes Ballé
  0 siblings, 0 replies; only message in thread
From: Johannes Ballé @ 2002-12-03 18:03 UTC (permalink / raw
  To: gentoo-dev

Hello,

I recently tried to come up with an overhauled isdn4k-utils ebuild. (It sits 
in bug #9578 for almost two weeks now, and nobody responded. normal?)

Among the installed programs is ipppd, the synchronous PPP daemon for ISDN. In 
my ebuild it uses /etc/ppp/ip-{up,down} to restore a default route if 
necessary. (AFAIK this is a needed workaround due to a limitation/bug in 
ipppd.)

Moreover, the scripts are configured to call /etc/ppp/ip-{up,down}.<interface> 
so that you can easily add new interfaces. ip-down is a symbolic link to 
ip-up, and ip-up looks like this:

-----
#!/bin/bash

# This calls /etc/ppp/ip-up.<interface> or /etc/ppp/ip-down.<interface>

[ -s $0.$1 ] && . $0.$1 $*
-----

Is this in conflict with other packages' invention of these scripts? Is there 
any existing infrastructure I might destroy here? (in ebuilds such as pppoed, 
pppd, etc.)

I figure it would be a good thing (tm) if there was a common way to handle 
this by the various incarnations of pppd.

-- 
Johannes Ballé <joba123@arcor.de>


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-03 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 18:03 [gentoo-dev] PPP scripts Johannes Ballé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox