From 9d35a7dfacb9d1be4d3742179295c2ca3bede157 Mon Sep 17 00:00:00 2001 From: seud0nym Date: Sat, 23 Jul 2022 16:04:50 +1000 Subject: [PATCH] Also chekc for de-telstra --- build/common/890-Utilities-Upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/common/890-Utilities-Upgrade b/build/common/890-Utilities-Upgrade index 2ea08c4b..86d47252 100644 --- a/build/common/890-Utilities-Upgrade +++ b/build/common/890-Utilities-Upgrade @@ -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