[OpenWrt-SNAPSHOT] Update to Mod 21.02

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2021-02-02 23:46:25 +08:00
parent 45f1463e86
commit 362a3ebed3
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 21.01 By CTCGFW │
│ OpenWrt Snapshot, Mod 21.02 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 21.01 By CTCGFW'" >> /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt Snapshot Official | Mod 21.02 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 21.01 by CTCGFW"' >> /usr/lib/lua/luci/version.lua
echo 'luciversion = "Mod 21.02 by CTCGFW"' >> /usr/lib/lua/luci/version.lua
sed -i '/log-facility/d' /etc/dnsmasq.conf
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf