mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +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
|
# 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"
|
log_print "Stopping MagiskHide daemon"
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ log_print() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Only enable when isn't started
|
# 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
|
if [ ! -d /sbin_orig ]; then
|
||||||
log_print "Moving and re-linking /sbin binaries"
|
log_print "Moving and re-linking /sbin binaries"
|
||||||
|
Loading…
Reference in New Issue
Block a user