[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New handling of scripts external to PPPD (ie ip-up, ip-down)



On 17 Mar 1998, Martin Bialasinski wrote:

> Adam Heath <adam.heath@usa.net> writes:
> 
> > On my system there is *NO* ip-up, or ip-down.  Pppd shells out to
> > /etc/ppp/ppp-functions, with the first parameter being a runlevel, and the
> > rest the normal parameters passed to ip-up.  Then, ppp-functions sets up some
> > variables, and runs "/etc/ppp/rc <runlevel>."  Rc is similiar to the rc that
> > init uses, in that there are kill scripts and start scripts for each level.
> 
> There is already something like this, I believe.
> 
> $ ls -R /etc/ppp/ip-{up,down}.d
> /etc/ppp/ip-down.d:
> fetchmail*  isdnutils
> 
> /etc/ppp/ip-up.d:
> fetchmail*  isdnutils    
> 
> Don't know how (or if) your suggestion fits into this.

My suggestion(enhancement) is more refined.  The current way doesn't allow
some programs to be run before others.  Plus, I have more "runlevels".  This
would allow for an external dialer, instead of having to have the <connect>
option in pppd.

Please reread the original post, and think everything through carefully(not
meant as a flame).

Adam



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: