Fix restart only when started
This commit is contained in:
parent
b139f72be4
commit
1b5659be4f
@ -31,8 +31,12 @@ fixSPL() {
|
||||
chcon "$ctxt" /mnt/phh/$b
|
||||
mount -o bind /mnt/phh/$b $f
|
||||
done
|
||||
[ "$(getprop init.svc.keymaster-3-0)" == "running" ] && setprop ctl.restart keymaster-3-0
|
||||
[ "$(getprop init.svc.teed)" == "running" ] && setprop ctl.restart teed
|
||||
if [ "$(getprop init.svc.keymaster-3-0)" == "running" ];then
|
||||
setprop ctl.restart keymaster-3-0
|
||||
fi
|
||||
if [ "$(getprop init.svc.teed)" == "running" ];then
|
||||
setprop ctl.restart teed
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user