blob: 810f25b19fb61e7cfa443e73c415ed46745fcbba [file] [log] [blame]
#!/bin/sh /etc/rc.common
START=25
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 &
}