mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
default-settings: adjust LuCI version
This commit is contained in:
parent
a9c0a21fa3
commit
6e0c381e61
@ -48,6 +48,10 @@ echo "DISTRIB_REVISION=''" >> /etc/openwrt_release
|
|||||||
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
|
sed -i '/DISTRIB_DESCRIPTION/d' /etc/openwrt_release
|
||||||
echo "DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT | Mod20.03 By CTCGFW'" >> /etc/openwrt_release
|
echo "DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT | Mod20.03 By CTCGFW'" >> /etc/openwrt_release
|
||||||
|
|
||||||
|
sed -i 's/LuCI Master/LuCI SNAPSHOT/g' /usr/lib/lua/luci/version.lua
|
||||||
|
sed -i '/luciversion/d' /usr/lib/lua/luci/version.lua
|
||||||
|
echo 'luciversion = "Mod20.03 by CTCGFW"' >> /usr/lib/lua/luci/version.lua
|
||||||
|
|
||||||
sed -i '/log-facility/d' /etc/dnsmasq.conf
|
sed -i '/log-facility/d' /etc/dnsmasq.conf
|
||||||
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf
|
echo "log-facility=/dev/null" >> /etc/dnsmasq.conf
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user