From 99495b2f4e12b98a58132bfcfac6e7d54a7ed3e5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 5 Jul 2011 19:10:57 -0400 Subject: Cleanup of model, menu, and file permissions --- Makefile | 0 ospf-controller.lua | 0 ospf-details-html.lsp | 0 ospf-model.lua | 3 +-- ospf-welcome-html.lsp | 0 ospf.menu | 4 ++-- ospf.roles | 0 7 files changed, 3 insertions(+), 4 deletions(-) mode change 100755 => 100644 Makefile mode change 100755 => 100644 ospf-controller.lua mode change 100755 => 100644 ospf-details-html.lsp mode change 100755 => 100644 ospf-model.lua mode change 100755 => 100644 ospf-welcome-html.lsp mode change 100755 => 100644 ospf.menu mode change 100755 => 100644 ospf.roles diff --git a/Makefile b/Makefile old mode 100755 new mode 100644 diff --git a/ospf-controller.lua b/ospf-controller.lua old mode 100755 new mode 100644 diff --git a/ospf-details-html.lsp b/ospf-details-html.lsp old mode 100755 new mode 100644 diff --git a/ospf-model.lua b/ospf-model.lua old mode 100755 new mode 100644 index eb9c96b..67ff868 --- 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 old mode 100755 new mode 100644 diff --git a/ospf.menu b/ospf.menu old mode 100755 new mode 100644 index 379f4d0..d217028 --- 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 old mode 100755 new mode 100644 -- cgit v1.2.3