Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ help writing a script

Posted by: blades Jan 12 2013, 05:49 PM

Hi to all, just found this forum while I was searching for a solution for my problem,

I have a Raspbian server(Debian+Raspberry_Pi) and I want this command to be executed everytime the computer boots up
sudo /home/pi/sakis3g connect USBINTERFACE=0
then wait for 60" and check if connection established (by pinging at google site I think,
if connection not established then execute again sudo /home/pi/sakis3g connect USBINTERFACE=0

thanx in advance for any replies, hope to make some joy with a solution.

*I'm not a Linux expert, just a simple user with some very basic skills in terminal

Powered by Invision Power Board (
© Invision Power Services (