Skip to content

Commit

Permalink
Preferably using busybox from system bin/xbin (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelsBoobz authored and tearmoon committed Jan 26, 2024
1 parent 4343946 commit b2a68c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions box/settings.ini
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -134,4 +134,4 @@ log() {
# Print messages to a log file
echo "${message}" >> ${box_log} 2>&1
fi
}
}

0 comments on commit b2a68c8

Please sign in to comment.