From 4f292d645f6e4d7ebcb2b96a518a8adb14aba174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <66155308+miaoermua@users.noreply.github.com> Date: Mon, 29 Jul 2024 02:41:45 +0800 Subject: [PATCH] Update flash_catwrt.sh --- flash_catwrt.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/flash_catwrt.sh b/flash_catwrt.sh index 293c8a9..d9c7c8e 100644 --- a/flash_catwrt.sh +++ b/flash_catwrt.sh @@ -5,11 +5,6 @@ if [ $(id -u) != "0" ]; then exit 1 fi -if ! grep -q "OpenWrt" /etc/openwrt_release 2>/dev/null; then - echo "Your system is not supported!" - exit 1 -fi - total_mem=$(awk '/MemTotal/ {print $2}' /proc/meminfo) if [ "$total_mem" -lt 1048576 ]; then echo "Error: At least 1G of total memory is required"