android-tools-conf: Make sure /dev/pts/0 exists

Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Nikolay Nizov
2019-03-31 13:43:27 +03:00
committed by Khem Raj
parent 76868f74ab
commit 98318e265d

View File

@@ -1,5 +1,8 @@
#!/bin/sh
[ ! -e /dev/pts ] && mkdir -p /dev/pts
[ ! -e /dev/pts/0 ] && mount devpts /dev/pts -t devpts
# TODO enable the lines below once we have support for getprop
# retrieve the product info from Android
# manufacturer=$(getprop ro.product.manufacturer Android)