From b4d67d76ebb9ed49c248433816121b315153b937 Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Sun, 30 Nov 2025 19:29:17 +0500 Subject: [PATCH] Update sys_info.sh --- sys_info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys_info.sh b/sys_info.sh index 1fcb8c3..2258583 100644 --- a/sys_info.sh +++ b/sys_info.sh @@ -4,10 +4,10 @@ RED="\033[1;31m" NC="\033[0m" CONF="/etc/config/zapret" if ! command -v curl >/dev/null 2>&1; then -echo -e "${GREEN}Устанавливаем ${NC}curl" +echo -e "\n${GREEN}Устанавливаем ${NC}curl" opkg update >/dev/null 2>&1 && opkg install curl >/dev/null 2>&1 fi -echo -e "\n${GREEN}===== Информация о системе =====${NC}" +clear; echo -e "\n${GREEN}===== Информация о системе =====${NC}" MODEL=$(cat /tmp/sysinfo/model) ARCH=$(sed -n "s/.*ARCH='\(.*\)'/\1/p" /etc/openwrt_release) OWRT=$(sed -n "s/.*OpenWrt \([0-9.]*\).*/\1/p" /etc/openwrt_release)