diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-07-05 19:10:57 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-07-05 19:10:57 -0400 |
commit | 99495b2f4e12b98a58132bfcfac6e7d54a7ed3e5 (patch) | |
tree | 5c5610a29339681dfdf3efe87fcacb904fd05262 | |
parent | e14a5488926bb5f9aaeb40e3b74803ef0daf9467 (diff) | |
download | acf-quagga-99495b2f4e12b98a58132bfcfac6e7d54a7ed3e5.tar.bz2 acf-quagga-99495b2f4e12b98a58132bfcfac6e7d54a7ed3e5.tar.xz |
Cleanup of model, menu, and file permissions
-rw-r--r--[-rwxr-xr-x] | Makefile | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf-controller.lua | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf-details-html.lsp | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf-model.lua | 3 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf-welcome-html.lsp | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf.menu | 4 | ||||
-rw-r--r--[-rwxr-xr-x] | ospf.roles | 0 |
7 files changed, 3 insertions, 4 deletions
diff --git a/ospf-controller.lua b/ospf-controller.lua index 23b8fe3..23b8fe3 100755..100644 --- a/ospf-controller.lua +++ b/ospf-controller.lua diff --git a/ospf-details-html.lsp b/ospf-details-html.lsp index 4458c03..4458c03 100755..100644 --- a/ospf-details-html.lsp +++ b/ospf-details-html.lsp diff --git a/ospf-model.lua b/ospf-model.lua index eb9c96b..67ff868 100755..100644 --- a/ospf-model.lua +++ b/ospf-model.lua @@ -37,10 +37,9 @@ local function telnetshowip() local output = {} local configfile = parseconfigfile() or {} local cmd = path .. "echo -e '" .. format.escapespecialcharacters(configfile.password) .. "\nshow ip ospf route\nquit\n' | nc localhost ospfd 2>/dev/null" - logevent(cmd) local f = io.popen( cmd ) local result = f:read("*a") or "" - local validoutput + f:close() if result == "" then result = "Failed to find routes" end diff --git a/ospf-welcome-html.lsp b/ospf-welcome-html.lsp index 251c503..251c503 100755..100644 --- a/ospf-welcome-html.lsp +++ b/ospf-welcome-html.lsp diff --git a/ospf.menu b/ospf.menu index 379f4d0..d217028 100755..100644 --- a/ospf.menu +++ b/ospf.menu @@ -1,4 +1,4 @@ #CAT GROUP/DESC TAB ACTION -Networking OSPF Status welcome -Networking OSPF Expert expert +Networking 83OSPF Status welcome +Networking 83OSPF Expert expert diff --git a/ospf.roles b/ospf.roles index 947eb53..947eb53 100755..100644 --- a/ospf.roles +++ b/ospf.roles |