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

Re: ppp's ip-{up,down} and possible utilization of 'run-parts'

[You (emaziuk@curtin.edu.au)]
>FWIW I've been using run-parts in ip-up and ip-down for some time now,
>the scripts reconfigure stuff based on my ip address (2 ISPs)  etc.
>and everything works like a charm.  I dunno about packages placing
>scripts in ip-[up|down].d/ -- I'd rather put them in 

One question.  You're obviously carrying along the `ip-up' argument list, 
    Arg  Name               Example
    $1   Interface name     ppp0
    $2   The tty            ttyS1
    $3   The link speed     38400
    $4   Local IP number
    $5   Peer  IP number 

These variables are clearly being propogated to your (custom rolled) 
ip-up.d/* scripts.  How are you propogating these values?  Environment 
variables?  We'd have to std'ize the variable names too, if so.

.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: