View Single Post
Old 02-11-2013, 06:07 PM   #361
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by NiLuJe View Post
FWIW, if you want verbose feedback on the USBNetwork front, you're welcome to force-enable the 'verbose' setting in the helper: touch /mnt/us/usbnet/verbose. That'll throw a bunch of eips prints at various points of the process .
Thanks! why dont I put that on a toggle button. Verbose ON OFF

Thank you!!

EDIT:

Hmm.. I like this.. no toggle required AFAIC

Code:
#!/bin/sh
DIRECTION=DOWN
LOC=/mnt/us/usbnet

if [ ! -e $LOC/verbose ]
then
touch $LOC/verbose
fi

usleep 10000
$LOC/bin/usbnetwork 
usleep 50000

if [ -e $LOC/run/sshd.pid ]
then
DIRECTION=UP
/usr/bin/lipc-set-prop -i -- com.lab126.volumd useUsbForNetwork 1
else
/usr/bin/lipc-set-prop -i -- com.lab126.volumd useUsbForNetwork 0
fi
eips 1 38 " USBNETWORKING $DIRECTION (PROCESS COMPLETE)"
I think I will do something like that.

Last edited by twobob; 02-11-2013 at 09:47 PM.
twobob is offline   Reply With Quote