diff options
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/system.lua')
-rw-r--r-- | modules/admin-full/luasrc/controller/admin/system.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/system.lua b/modules/admin-full/luasrc/controller/admin/system.lua index 8e3a3d799..9abdb2aba 100644 --- a/modules/admin-full/luasrc/controller/admin/system.lua +++ b/modules/admin-full/luasrc/controller/admin/system.lua @@ -189,7 +189,7 @@ function action_backup() luci.ltn12.pump.all(luci.ltn12.source.file(backup_fpi), luci.http.write) elseif reset then luci.template.render("admin_system/applyreboot") - luci.sys.exec("mtd -r erase rootfs_data") + luci.util.exec("mtd -r erase rootfs_data") else luci.template.render("admin_system/backup", {reset_avail = reset_avail}) end |