magisk-ghid/service.sh

9 lines
248 B
Bash
Raw Normal View History

#!/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