> >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 > >/usr/doc/<package>/examples. > > One question. You're obviously carrying along the `ip-up' argument list, > i.e., > Arg Name Example > $1 Interface name ppp0 > $2 The tty ttyS1 > $3 The link speed 38400 > $4 Local IP number 12.34.56.78 > $5 Peer IP number 12.34.56.99 > > 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. [EMAIL PROTECTED]<URL:http://www.onShore.com/>
Why not as the same command-line arguments? And there is one thing which I would qualify as a mistake in the above description: $2 is actually in the form "/dev/ttyS1" than just "ttyS1". Thanks. Alex Y. -- _ _( )_ ( (o___ +-------------------------------------------+ | _ 7 | Alexander Yukhimets | \ (") | http://pages.nyu.edu/~aqy6633/ | / \ \ +-------------------------------------------+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .