Trigger secondary adbd only if we managed to disable first one
This commit is contained in:
parent
5dc6a4573a
commit
1048ea4fd2
@ -10,9 +10,10 @@ while read version;do
|
||||
done
|
||||
|
||||
if [ -d /sys/module/five ];then
|
||||
mount -o bind /system/phh/empty /sbin/adbd
|
||||
if mount -o bind /system/phh/empty /sbin/adbd;then
|
||||
setprop sys.phh.five true
|
||||
else
|
||||
fi
|
||||
else if [ -f /sbin/adbd ];then
|
||||
mount -o bind /system/bin/adbd /sbin/adbd
|
||||
fi
|
||||
if ( getprop ro.hardware | grep -qE '(kirin970|hi3660|hi6250|hi3670)' );then
|
||||
|
Loading…
Reference in New Issue
Block a user