Skip to content

Commit

Permalink
Also chekc for de-telstra
Browse files Browse the repository at this point in the history
  • Loading branch information
seud0nym committed Jul 23, 2022
1 parent 779a9e3 commit 9d35a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/common/890-Utilities-Upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ if [ "$(pwd)" = "/tmp" -a -n "$(pgrep -f './tch-gui-unhide -y')" -a -n "$(pgrep
fi

__COPYTO=""
[ -e /root/tch-gui-unhide-$FW_BASE ] && __COPYTO="$__COPYTO /root"
[ -e /root/tch-gui-unhide-$FW_BASE -o -e /root/de-telstra ] && __COPYTO="$__COPYTO /root"
__MOUNT_PATH=$(uci -q get mountd.mountd.path)
if [ -n "$__MOUNT_PATH" ]; then
__USB="$(ls $__MOUNT_PATH | head -n1)"
if [ -n "$__USB" -a -e ${__MOUNT_PATH}${__USB}/tch-gui-unhide-$FW_BASE ]; then
if [ -n "$__USB" -a \( -e ${__MOUNT_PATH}${__USB}/tch-gui-unhide-$FW_BASE -o ${__MOUNT_PATH}${__USB}/de-telstra \) ]; then
__COPYTO="$__COPYTO ${__MOUNT_PATH}${__USB}"
fi
fi
Expand Down

0 comments on commit 9d35a7d

Please sign in to comment.