mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Magisk Hide enable/disable scripts fix
This commit is contained in:
parent
6e8e4ad5da
commit
469aba8ed0
@ -11,7 +11,7 @@ log_print() {
|
||||
}
|
||||
|
||||
# Only disable when MagiskHide is started
|
||||
ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 || exit
|
||||
$TOOLPATH/ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 || exit
|
||||
|
||||
log_print "Stopping MagiskHide daemon"
|
||||
|
||||
|
@ -12,7 +12,7 @@ log_print() {
|
||||
}
|
||||
|
||||
# Only enable when isn't started
|
||||
ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 && exit
|
||||
$TOOLPATH/ps | grep "magiskhide --daemon" | grep -v grep >/dev/null 2>&1 && exit
|
||||
|
||||
if [ ! -d /sbin_orig ]; then
|
||||
log_print "Moving and re-linking /sbin binaries"
|
||||
|
Loading…
Reference in New Issue
Block a user