Re: how to shut pppd in script

1998-12-04 Thread Jiri Baum
Hello, > The idea is to disconnect from ISP after all scripts in /etc/ppp/ip-up.d/ > are executed. I do this also. My way is to have a script in ip-up.d, called "zzz-hangup", which calls "poff" - that way it doesn't have to check anything (the scripts get done in alphabetical order). > kill 'c

Re: [how to shut pppd in script]

1998-12-04 Thread Vladimir Popov
Hi, Thanks to all responded, the problem was cured by specifying full path for each command (thanks, Javi). best regards, Vladimir Get free e-mail and a permanent address at http://www.netaddress.com/?N=1

Re: how to shut pppd in script

1998-12-04 Thread Oliver Elphick
Vladimir Popov wrote: >Hi, > >The idea is to disconnect from ISP after all scripts in /etc/ppp/ip-up.d/ ar >e >executed. When I run script: > >= >#!/bin/sh >if test -e shut.ppp >then > echo "It exists" >else > echo "It doesn't exists" >fi >= >

how to shut pppd in script

1998-12-04 Thread Vladimir Popov
Hi, The idea is to disconnect from ISP after all scripts in /etc/ppp/ip-up.d/ are executed. When I run script: = #!/bin/sh if test -e shut.ppp then echo "It exists" else echo "It doesn't exists" fi = everything is ok. But when I place script = #!/bin/sh if test -e sh