default-settings: fix changing LuCI version

This commit is contained in:
CN_SZTL 2020-04-12 00:31:47 +08:00
parent 102bbb12df
commit d89adff716
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -49,7 +49,7 @@ echo "DISTRIB_REVISION='| Mod20.04 by CTCGFW'" >> /etc/openwrt_release
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
echo "DISTRIB_DESCRIPTION='OpenWrt 18.06 by Lean '" >> /etc/openwrt_release
sed -i 's/LuCI Master/LuCI 18.06 by Lean/g' /usr/lib/lua/luci/version.lua
sed -i 's/LuCI openwrt-18.06 branch/LuCI 18.06 by Lean/g' /usr/lib/lua/luci/version.lua
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
echo 'luciversion = "Mod20.04 by CTCGFW"' >> /usr/lib/lua/luci/version.lua