From bd0409fd15c09f5492b2320823f3300edc74b50c Mon Sep 17 00:00:00 2001 From: canyie Date: Wed, 11 Jan 2023 13:50:07 +0800 Subject: [PATCH] Fix busybox filename --- .../main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt index c309dc5fb..12cb99d4f 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt @@ -53,8 +53,8 @@ class ShellInit : Shell.Initializer() { " cp -af $localBB \$MAGISKTMP/busybox/busybox", " exec \$MAGISKTMP/busybox/busybox sh", "else", - " cp -af $localBB /dev/.busybox", - " exec /dev/.busybox sh", + " cp -af $localBB /dev/busybox", + " exec /dev/busybox sh", "fi" ) } else {