Re: my ip-up.d script doesn't work

1999-06-08 Thread Hamish Moffatt
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"

Re: my ip-up.d script doesn't work

1999-06-08 Thread Hamish Moffatt
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: Good point. I'll try it out. tha

Re: my ip-up.d script doesn't work

1999-06-08 Thread Hamish Moffatt
On Mon, Jun 07, 1999 at 09:19:46PM +0200, Colin Marquardt wrote: > Yes, but maybe he wasn´t so wrong after all: > > man run-parts > | Filenames should consist entirely of upper and lower case letters, > | digits, under­ scores, and hyphens. Subdirectories of directory > | and files

Re: my ip-up.d script doesn't work

1999-06-07 Thread Colin Marquardt
* Hamish Moffatt <[EMAIL PROTECTED]> writes: > On Mon, Jun 07, 1999 at 07:51:00AM -0600, Rick Macdonald wrote: >> On Mon, 7 Jun 1999, Hamish Moffatt wrote: >> >> > I just freshly reinstalled ppp on one machine here. My >> > custom script in /etc/ppp/ip-up.d does not work; it >> > doesn't appear t

Re: my ip-up.d script doesn't work

1999-06-07 Thread Marc Mongeon
> > I just freshly reinstalled ppp on one machine here. My > custom script in /etc/ppp/ip-up.d does not work; it > doesn't appear to run. I tested it form the command > line with the named parameters and it worked. Here it is: > > #!/bin/sh > # This script is called with the following arguments: >

Re: my ip-up.d script doesn't work

1999-06-07 Thread shaleh
> > On Mon, 7 Jun 1999, Hamish Moffatt wrote: > > > I just freshly reinstalled ppp on one machine here. My > > custom script in /etc/ppp/ip-up.d does not work; it > > doesn't appear to run. I tested it form the command > > Isn't your filename wrong? > No, ip-up.d is a directory where you can p

Re: my ip-up.d script doesn't work

1999-06-07 Thread shaleh
> > I just freshly reinstalled ppp on one machine here. My > custom script in /etc/ppp/ip-up.d does not work; it > doesn't appear to run. I tested it form the command > line with the named parameters and it worked. Here it is: > Trying adding some echo >> file lines to see if and where it dies.

Re: my ip-up.d script doesn't work

1999-06-07 Thread Hamish Moffatt
On Mon, Jun 07, 1999 at 07:51:00AM -0600, Rick Macdonald wrote: > On Mon, 7 Jun 1999, Hamish Moffatt wrote: > > > I just freshly reinstalled ppp on one machine here. My > > custom script in /etc/ppp/ip-up.d does not work; it > > doesn't appear to run. I tested it form the command > > Isn't your f

Re: my ip-up.d script doesn't work

1999-06-07 Thread Rick Macdonald
On Mon, 7 Jun 1999, Hamish Moffatt wrote: > I just freshly reinstalled ppp on one machine here. My > custom script in /etc/ppp/ip-up.d does not work; it > doesn't appear to run. I tested it form the command Isn't your filename wrong? /etc/ppp/ip-up A program or scri

my ip-up.d script doesn't work

1999-06-07 Thread Hamish Moffatt
I just freshly reinstalled ppp on one machine here. My custom script in /etc/ppp/ip-up.d does not work; it doesn't appear to run. I tested it form the command line with the named parameters and it worked. Here it is: #!/bin/sh # This script is called with the following arguments: #Arg Name