![]() |
2010-03-11
, 16:31
|
|
Posts: 60 |
Thanked: 46 times |
Joined on Jan 2010
@ Europe
|
#2
|
![]() |
2010-03-11
, 16:41
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#3
|
![]() |
2010-03-11
, 16:41
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#4
|
#!/bin/sh #my=`/sbin/ifconfig usb0` my="abcd" if [ "$my" == *bc* ] then echo "Ok" else echo "Not ok" fi
![]() |
2010-03-11
, 16:45
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#5
|
Maybe?Code:#!/bin/sh #my=`/sbin/ifconfig usb0` my="abcd" if [ "$my" == *bc* ] then echo "Ok" else echo "Not ok" fi
![]() |
2010-03-11
, 16:48
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#7
|
![]() |
2010-03-11
, 16:51
|
|
Posts: 71 |
Thanked: 54 times |
Joined on Oct 2009
|
#9
|
![]() |
2010-03-11
, 16:53
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#10
|
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
It's not wrorking.
I ran this on my phone using putty.
On the other hand :
this works :