mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix backup to server
This commit is contained in:
parent
1f70875a14
commit
21247f3393
2 changed files with 6 additions and 1 deletions
|
@ -735,6 +735,7 @@ function update_vps()
|
|||
local ut = require "luci.util"
|
||||
local result = ut.ubus("openmptcprouter", "update_vps", {})
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
function backupgr()
|
||||
|
@ -746,6 +747,8 @@ function backupgr()
|
|||
if send_backup ~= "" then
|
||||
luci.sys.call("/etc/init.d/openmptcprouter-vps backup_send >/dev/null 2>/dev/null")
|
||||
end
|
||||
luci.http.redirect(luci.dispatcher.build_url("admin/system/openmptcprouter/backup"))
|
||||
return
|
||||
end
|
||||
|
||||
function get_device(interface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue