Core/LuCI: Update to Mod 21.01

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2020-12-31 21:37:36 +08:00
parent a7042b99ce
commit 32301f4cab
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 3 additions and 3 deletions

View File

@ -8,5 +8,5 @@
│ # │
│ " │
│─────────────────────────────────────────────────│
│ OpenWrt Snapshot, Mod 20.12 By CTCGFW │
│ OpenWrt Snapshot, Mod 21.01 By CTCGFW │
└─────────────────────────────────────────────────┘

View File

@ -40,12 +40,12 @@ wifi up
sed -i '/DISTRIB_REVISION/d' /etc/openwrt_release
echo "DISTRIB_REVISION=''" >> /etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt Snapshot Official | Mod 20.12 By CTCGFW'" >> /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt Snapshot Official | Mod 21.01 By CTCGFW'" >> /etc/openwrt_release
# NEVER DROP THE EXISTING AUTHORS INFO | 禁止删除现有作者信息
sed -i 's/LuCI Master/LuCI Snapshot Official/g' /usr/lib/lua/luci/version.lua
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
echo 'luciversion = "Mod 20.12 by CTCGFW"' >> /usr/lib/lua/luci/version.lua
echo 'luciversion = "Mod 21.01 by CTCGFW"' >> /usr/lib/lua/luci/version.lua
sed -i '/log-facility/d' /etc/dnsmasq.conf
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf