OSDN Git Service

Avoid Bluetooth service crashing on VMware
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 17 Jun 2018 22:20:46 +0000 (06:20 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 17 Jun 2018 22:20:46 +0000 (06:20 +0800)
init.sh

diff --git a/init.sh b/init.sh
index a59ac18..8b2e366 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -417,6 +417,9 @@ function do_bootcomplete()
                        setkeycodes 0x66 172
                        setkeycodes 0x6b 127
                        ;;
                        setkeycodes 0x66 172
                        setkeycodes 0x6b 127
                        ;;
+               VMware*)
+                       pm disable com.android.bluetooth
+                       ;;
                *)
                        ;;
        esac
                *)
                        ;;
        esac