You can add this as part of your init scripts
ex: add it in init.rc or some other init scripts. it should work.
thanks
Venu
On Mon, Apr 9, 2012 at 6:20 PM, Vikas KM wrote:
> Hi All,
>
> I want to execute a shell script in android
>
> *** SHELL SCRIPT
>
> if [
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