Vikas KM
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
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?
Install busybox and it does most of the scripts, Google it and you will see what are the steps.Ivo
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/UZF3Z1ua_awJ.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
Hi,
Works with busybox..
Any other way of doing this without buybox..