Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

device-common: Commit

device/common


Commit MetaInfo

Révision06dd6a8f6d0a9a26de0e6c07f7c8de8f89f335b0 (tree)
l'heure2012-06-25 16:16:46
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

generic_x86: init.sh: a hack for 3G modem

Change Summary

Modification

--- a/generic_x86/init.sh
+++ b/generic_x86/init.sh
@@ -35,6 +35,9 @@ chown 1000.1000 ${brfile:-/sys/class/backlight/acpi_video0/brightness}
3535 # disable cursor blinking
3636 [ "$(getprop system_init.startsurfaceflinger)" = "0" ] && echo -e '\033[?17;0;0c' > /dev/tty0
3737
38+# a hack for USB modem
39+lsusb | grep 1a8d:1000 && eject
40+
3841 hardware=$(getprop ro.hardware)
3942 hw_sh=/system/etc/init.$hardware.sh
4043 [ -e $hw_sh ] && exec sh $hw_sh
Afficher sur ancien navigateur de dépôt.