On Sat, 9 Oct 1999, John P. Marr wrote:

> Greetings all:
> 
>  After windows 98 crashed on me two days ago, I decided to start using 
> linux to connect to the net and get my email.  I created two scripts in the 
> /var/run directory called pppon and pppoff.
> 
> Pppon works fine. Pppoff, however, doesn't. The contents of pppoff are
> 
> #!/bin/sh
> kill 'cat /var/run/ppp0.pid'

should be
kill `cat /var/run/ppp0.pid`

> using the cat command gives me to pid number I need to kill, but this 
> script, which I took from a book, doesn't seem to work. Am I doing anything 
> wrong? Does anyone have a better script to disconnect with? Also, I can run 
> the script only as root user. When I log in as a normal user or a user with 
> root powers, I am never able to get the dialup script to run even though I 
> have chmod 755 the scripts.  Do I need to change the properties of pppd? 
> Where is pppd located?
>
> John
> 
> 
Frank

HI! I'm a .signature virus! cp me into your .signature file to help me spread!

Reply via email to