Wow I didn't expect a response so fast.
So I tried it (copy and paste into terminal)
nothing
Then I tried sticking it in a text file (rightclick, new file, empty text file)
and running the file as sudo.
Nothing. Here's what I'm using.
while true; do
> [ `nmcli dev status |ttyUSB0|awk '{print $3'}` == "disconnected" ] && echo
"LOST CONNECTION!" || echo "STILL CONNECTED"
> sleep 60s
> done
I like that your script doesen't use ping to test connection.
So, um how do I put it into a clickable script?
------------------------------------
To unsubscribe from this list, please email
[email protected] & you will be removed.Yahoo! Groups
Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/