mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix vnstat backup
This commit is contained in:
parent
4cd0d46a12
commit
d7c85c8cce
3 changed files with 3 additions and 3 deletions
|
@ -749,7 +749,7 @@ function settings_add()
|
|||
|
||||
-- Enable/disable vnstat backup
|
||||
local savevnstat = luci.http.formvalue("savevnstat") or "0"
|
||||
luci.sys.exec("uci -q set vnstat.@vnstat[0].backup=%s" % savevnstat)
|
||||
luci.sys.exec("uci -q set openmptcprouter.settings.vnstat_backup=%s" % savevnstat)
|
||||
ucic:commit("vnstat")
|
||||
|
||||
-- Enable/disable gateway ping
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue