android_device_allwinner-full/common/rild/usb_modeswitch.sh
2016-08-05 21:03:18 -04:00

11 lines
224 B
Bash
Executable file

#!/system/bin/busybox ash
sleep 2
#/system/bin/setprop "mode_switch_running" "1"
if [ -f $1 ]; then
/system/bin/usb_modeswitch -W -I -c $1
else
echo "$1 does not exist."
fi
#/system/bin/setprop "mode_switch_running" "0"