#!/system/bin/sh
MODDIR=${0%/*}

chmod 644 $MODDIR/sepolicy.rule

chmod 755 $MODDIR/system/bin/vernus_daemon

chcon u:object_r:system_file:s0 $MODDIR/system/bin/vernus_daemon

chmod 644 $MODDIR/system/lib64/libvernus_camera.so
chmod 644 $MODDIR/system/lib64/libvernus_audio.so
chmod 644 $MODDIR/system/lib64/libvernus_nothing.so

chcon u:object_r:system_lib_file:s0 $MODDIR/system/lib64/libvernus_camera.so
chcon u:object_r:system_lib_file:s0 $MODDIR/system/lib64/libvernus_audio.so
chcon u:object_r:system_lib_file:s0 $MODDIR/system/lib64/libvernus_nothing.so