default-settings: fix changing LuCI version
This commit is contained in:
parent
102bbb12df
commit
d89adff716
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user