Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 04:26:51 -0500 (CDT)
From:      laszlo vagner <vagner@mutsgo.dyn.ml.org>
To:        questions@FreeBSD.ORG
Subject:   fetch and kill
Message-ID:  <199804240926.EAA03231@mutsgo.dyn.ml.org>

next in thread | raw e-mail | index | archive | help
ok i have been experimenting with "if" and here is what i cam up with
that successfully echoes to the screen but now i need a command
to killall ppp and restart it.

if       fetch http://www.airmail.net/index.html 
         then (echo success retreival no action taken)
         else (echo killing ppp and restarting it)
fi

can i just put "killall ppp \n ppp -auto -alias pmdemand \n"

or how do i make the returns ?

 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804240926.EAA03231>