mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
mwan3-luci: update to 1.3-2
added support for new last_resort option for policy configuration added dependencies for luci-mod-admin-full and luci-lib-nixio shortened length of menuconfig description lines reworded things on various pages changed date formatting in custom hotplug script default route checks now verify both destination/netmask are 0.0.0.0 condensed messy javascript lines and removed -F' ' from awk commands Signed-off-by: Aedan Renner <chipdankly@gmail.com>
This commit is contained in:
committed by
Etienne CHAMPETIER
parent
4e70aa58e8
commit
6c1e1705b1
@@ -1,14 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# delete existing mwan3 ucitrack entry and add new entry
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
del ucitrack.@mwan3[-1]
|
||||
add ucitrack mwan3
|
||||
set ucitrack.@mwan3[-1].exec="/etc/init.d/mwan3 restart"
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
# make controller file addition take effect without system restart
|
||||
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
|
||||
|
||||
exit 0
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
# replace existing mwan3-luci ucitrack entry
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
del ucitrack.@mwan3[-1]
|
||||
add ucitrack mwan3
|
||||
set ucitrack.@mwan3[-1].exec="/usr/sbin/mwan3 restart"
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
# remove LuCI cache
|
||||
rm -rf /tmp/luci-indexcache /tmp/luci-modulecache
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user