Preferably using busybox from system bin/xbin (#81)

This commit is contained in:
JeelsBoobz
2024-01-26 10:43:16 +07:00
committed by tearmoon
parent 434394659c
commit b2a68c8c48

View File

@@ -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
}
}