From b2a68c8c48dd4dc042d3fd362452edc39e4ba996 Mon Sep 17 00:00:00 2001 From: JeelsBoobz <38210868+JeelsBoobz@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:43:16 +0700 Subject: [PATCH] Preferably using busybox from system bin/xbin (#81) --- box/settings.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/box/settings.ini b/box/settings.ini index ccc9a88..6392b3b 100755 --- a/box/settings.ini +++ b/box/settings.ini @@ -1,6 +1,6 @@ #!/system/bin/sh -if [ ! -f /system/bin/busybox ]; then +if ! command -v busybox &> /dev/null; then export PATH="/data/adb/magisk:/data/adb/ksu/bin:/data/adb/ap/bin:$PATH:/system/bin" fi @@ -134,4 +134,4 @@ log() { # Print messages to a log file echo "${message}" >> ${box_log} 2>&1 fi -} \ No newline at end of file +}