From 0b27e78986bfabdb736e99974887ce9c8383280c Mon Sep 17 00:00:00 2001 From: StressOzz <131419324+StressOzz@users.noreply.github.com> Date: Thu, 29 Jan 2026 23:49:27 +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 0884c87..5b0e27b 100644 --- a/sys_info.sh +++ b/sys_info.sh @@ -1,6 +1,6 @@ #!/bin/sh -GREEN="\033[1;32m"; RED="\033[1;31m" -NC="\033[0m"; CONF="/etc/config/zapret" +GREEN="\033[1;32m"; RED="\033[1;31m"; NC="\033[0m"; CONF="/etc/config/zapret" +if command -v apk >/dev/null 2>&1; then PKG_IS_APK=1; else PKG_IS_APK=0; fi if ! command -v curl >/dev/null 2>&1; then echo -e "\n${GREEN}Устанавливаем ${NC}curl\n" opkg update >/dev/null 2>&1 && opkg install curl >/dev/null 2>&1; fi clear; echo -e "${GREEN}===== Информация о системе =====${NC}"