diff --git a/rootdir/bin/init.mmi.touch.sh b/rootdir/bin/init.mmi.touch.sh index 5c36109..1076245 100755 --- a/rootdir/bin/init.mmi.touch.sh +++ b/rootdir/bin/init.mmi.touch.sh @@ -187,11 +187,10 @@ wait_for_poweron() setup_permissions() { local bootmode=$(getprop $bootmode_property 2> /dev/null) - local selinux=$(getprop ro.boot.selinux 2> /dev/null) local key_path local key_files local entry - if [[ ("$selinux" == "permissive") || ("$bootmode" == "mot-factory") ]]; then + if [ "$bootmode" == "mot-factory" ]; then debug "loosen permissions to $touch_vendor files" case $touch_vendor in samsung) key_path="/sys/devices/virtual/sec/sec_ts/"