Hi All,

I want to execute a shell script in android

*************** SHELL SCRIPT ********************

 if [ ! -d "/sys/devices/platform/ehci-omap.0/usb1/1-2/1-2.4" ]; then
    if [ -d "/sys/devices/platform/ehci-omap.0/usb1/1-2" ]; then
        NUMINTERFACE=`cat
/sys/devices/platform/ehci-omap.0/usb1/1-2/bNumInterfaces`
    fi
 fi

********************************************************

That is based on the path if it exists, I want to run another script...

But i m unable to run the below script any idea what might be wrong?

I have root shell...


*# sh ($PATH)/script_name.sh*   Command i m using.


--------------
Regards

Vikas KM
http://arowboat.org

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to