diff options
Diffstat (limited to 'interfaces-model.lua')
-rw-r--r-- | interfaces-model.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces-model.lua b/interfaces-model.lua index 9fee686..ffcc376 100644 --- a/interfaces-model.lua +++ b/interfaces-model.lua @@ -336,7 +336,7 @@ mymodule.get_status = function () status.ipaddr.value, status.ipaddr.errtxt = modelfunctions.run_executable({"ip", "addr"}) status.iptunnel.value, status.iptunnel.errtxt = modelfunctions.run_executable({"ip", "tunnel"}) - return cfe({ type="group", value=status, label="Status" }) + return cfe({ type="group", value=status, label="Interfaces Status" }) end mymodule.get_file = function () @@ -426,7 +426,7 @@ mymodule.get_restartnetworking = function(self, clientdata) local actions = {} actions[1] = "restart" local service = cfe({ type="hidden", value=servicename, label="Service Name" }) - local startstop = cfe({ type="group", label="Restart Networking", value={servicename=service}, option=actions }) + local startstop = cfe({ type="group", label="Restart Networking", value={servicename=service}, option=actions, descr="WARNING!!! Restarting networking may cause the ACF web interface to stop functioning. Try refreshing this page after restarting. If that fails, you may have to use terminal access to recover." }) return startstop end |