#!/system/bin/sh ueventd=$(getprop init.svc.ueventd) if [ "$ueventd" = "running" ]; then # ueventd ensures that the correct permissions get applied, it may also apply the correct selabel, not sure stop ueventd start ueventd fi /system/bin/ghid.sh init