diff --git a/cattools.sh b/cattools.sh index 607dc11..04cf0d7 100644 --- a/cattools.sh +++ b/cattools.sh @@ -9,6 +9,7 @@ DEFAULT_IP="192.168.1.4" RELEASE="/etc/catwrt_release" +OPENWRT_RELEASE"/etc/openwrt_release" AMD64_REPO="https://fastly.jsdelivr.net/gh/miaoermua/cattools@main/repo/amd64/distfeeds.conf" MT798X_REPO="https://fastly.jsdelivr.net/gh/miaoermua/cattools@main/repo/mt798x/distfeeds.conf" AMD64_EFI_SYSUP="https://github.com/miaoermua/CatWrt/releases/download/v23.8/CatWrt.v23.8.x86_64-squashfs-combined-efi.img.gz" @@ -21,10 +22,7 @@ if [ $(id -u) != "0" ]; then exit 1 fi -release=$(cat /etc/openwrt_release) - if [[ $release =~ "OpenWrt" ]]; then - echo "$(date) - Starting CatWrt Network Diagnostics" else echo "Abnormal system environment..." echo " "