blob: e911f23647c23a3df9a42e3eb5320bb5c2db3e5e [file] [log] [blame]
#!/bin/sh /etc/rc.common
START=12
start() {
if [ -e /dev/tee0 ] && [ ! -e /data/tee ]; then
mkdir -p /data/tee
if [ -e /etc/selinux ]; then
restorecon -r /data/tee
fi
fi
if [ -e /etc/selinux ]; then
restorecon -r /dev/tee0 /dev/teepriv0
fi
echo "Start OPTEE supplicant"
tee-supplicant &
}