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