[wplug] script help needed

Alexandros Papadopoulos apapadop at alumni.cmu.edu
Sat Apr 14 05:33:38 EDT 2007


On Saturday 14 April 2007 01:50, Zach wrote:
<snip>
> disconnecting. So I was wondering if someone could give me a shell
> script (sh/bash/perl/expect) that will 1) create the ppp connection
> ("pon isp nodetach dump debug") 2) start the upgrade ("apt-get update
> ; apt-get upgrade -y) 3) if the ppp connection drops it will go back
> and perform steps 1 and 2.

Should be doable by following the Advanced Bash Scripting Guide @ 
http://ldp.wplug.org/LDP/abs/html/index.html

Why don't you go ahead and take a shot, and ask the list if you have specific 
problems with your script? Shell scripting is an extremely rewarding 
skill :-)

-A


More information about the wplug mailing list