On Wed, 07 Dec 2005 08:29:56 +0100, Lasse Madsen wrote:
> In a script how can I see, if there is net on my computer?
> And another question is, if there isn't net, how can I get the computer
> run the script, when there is net again?
Please read
http://www.catb.org/~esr/faqs/smart-questions.html
Always provide distribution, release, when posting questions.
It could help you get better answers.
Script I wrote pings my gateway and if fails restarts the network.
! bash script introduction documentation
http://tldp.org/LDP/intro-linux/html/index.html
! bash script advanced documentation
http://tldp.org/LDP/abs/html/index.html