mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
Upload of mwan3 LuCI package for OpenWrt feeds.
Signed-off-by: Aedan Renner chipdankly@gmail.com
This commit is contained in:
committed by
Steven Barth
parent
e35caf0640
commit
f9d5435f95
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user