View Single Post
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#21
try

Code:
if /sbin/ifconfig usb0 > /dev/null 2>&1
then
    echo Running
else
    echo Not Running
fi
Rick
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following 2 Users Say Thank You to rcull For This Useful Post: