Quote:
Originally Posted by NiLuJe
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.