Re: my ip-up.d script doesn't work
On Mon, Jun 07, 1999 at 12:14:53PM -0500, Marc Mongeon wrote:
> Are you certain that the script is called with those arguments?
> I don't believe the $[1-6] variables are available to the scripts
> in ip-up.d. Instead, use the environment variables set in ip-up:
>
> PPP_IFACE="$1"
> PPP_TTY="$2"
> PPP_SPEED="$3"
> PPP_LOCAL="$4"
> PPP_REMOTE="$5"
> PPP_IPPARAM="$6"
> PPP_TTYNAME=`/usr/bin/basename "$2"`
Works fine after I changed that. Thanks.
Hamish
--
Hamish Moffatt VK3SB (ex-VK3TYD).
CCs of replies from mailing lists are welcome.
Reply to: