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

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



> On Tue, 16 Dec 1997, Philip Hands wrote:
> 
> > My first attempt at this was to add these lines to the scripts:
> > 
> >   # These variables are for the use of the scripts run by run-parts
> >   PPP_IFACE="$1"
> >   PPP_TTY="$2"
> >   PPP_SPEED="$3"
> >   PPP_LOCAL="$4"
> >   PPP_REMOTE="$5"
> >   export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE
> > 
> >   run-parts /etc/ppp/ip-up.d
> > 
> > Any better suggestions ?
> 
> Yes, remove the 'PPP_' stuff (shorter lines :)...

But a much better chance of conflicting with other variable names.  Better not 
to indulge in namespace pollution IMHO.

Cheers, Phil.




--
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: