blob: 547781092323a632730b60028dabd1fb9372adac [file] [log] [blame]
#!/bin/busybox sh
echo "=== Initial: Mobicore Daemon Start ===" > /dev/kmsg
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/share/trustonic_tee/
sync
chmod 0600 /dev/mobicore
/usr/bin/mcDriverDaemon -b -p /usr/share/trustonic_tee/registry/
sync
chmod 0666 /dev/mobicore-user
echo "=== Initial: Mobicore Daemon End ===" > /dev/kmsg