#!/system/bin/sh
# nsenter starts in /, so re-exec by absolute path.
case $0 in /*) SELF=$0 ;; *) SELF=$PWD/$0 ;; esac
[ -n "$FL_NS" ] || exec nsenter -t 1 -m -- env FL_NS=1 sh "$SELF" "$@"
umount -l /vendor/lib64/sensors.fusionlight.so
stop vendor.sensors-hal-multihal
start vendor.sensors-hal-multihal
echo "service: $(getprop init.svc.vendor.sensors-hal-multihal)"
