mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
update app
This commit is contained in:
parent
b8ec680e11
commit
8836ce80c2
255 changed files with 9752 additions and 23582 deletions
|
|
@ -1,19 +0,0 @@
|
|||
#!/bin/sh
|
||||
if [ "$(uci -q get snmpd.general.network)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
add_list snmpd.general.network=lan
|
||||
set snmpd.@system[0].sysName="OpenMPTCProuter"
|
||||
set snmpd.general.enabled=0
|
||||
commit snmpd
|
||||
EOF
|
||||
fi
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@snmpd[-1]
|
||||
add ucitrack snmpd
|
||||
set ucitrack.@snmpd[-1].init=snmpd
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
rm -f /tmp/luci-indexcache
|
||||
exit 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue