Update sys_info.sh
This commit is contained in:
1 parent
b4d67d76eb
commit
4f15f66d78
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ if ! command -v curl >/dev/null 2>&1; then
|
||||
echo -e "\n${GREEN}Устанавливаем ${NC}curl"
|
||||
opkg update >/dev/null 2>&1 && opkg install curl >/dev/null 2>&1
|
||||
fi
|
||||
clear; echo -e "\n${GREEN}===== Информация о системе =====${NC}"
|
||||
clear; echo -e "${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)
|
||||
|
||||
Reference in new issue
Block a user