diff options
author | aalatchm <aalatchm@jamailca.com> | 2011-08-12 19:45:33 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-08-12 16:04:54 -0400 |
commit | 26d3d71448d8fcbb8ec1b427e16413f1f255c514 (patch) | |
tree | f063203ab30008f254b63fff9c1cfa89d66ecf6d | |
parent | c5542869099e3fa0128df871ceeb955ab35f77f0 (diff) | |
download | acf-provisioning-26d3d71448d8fcbb8ec1b427e16413f1f255c514.tar.bz2 acf-provisioning-26d3d71448d8fcbb8ec1b427e16413f1f255c514.tar.xz |
Configure debug logging for Linksys
-rw-r--r-- | templates/linksysata-template.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/linksysata-template.lua b/templates/linksysata-template.lua index 3972c33..6c2a626 100644 --- a/templates/linksysata-template.lua +++ b/templates/linksysata-template.lua @@ -2,7 +2,7 @@ -- Linksys ATA Configuration File Template local values = ... server=values.device.registrar -web_server=ENV['HTTP_HOST'] +web_server=string.gsub(ENV['HTTP_HOST'], ":[0-9]*$", "") moh=values.device.musiconhold dialpattern="( " .. values.device.digitmap .. " )" @@ -55,9 +55,9 @@ end <DNS_Server_Order ua="na">DHCP,Manual</DNS_Server_Order> <DNS_Query_Mode ua="na">Sequential</DNS_Query_Mode> -<Syslog_Server ua="na"><%= string.gsub(web_server, ":[0-9]*$", "") %></Syslog_Server> -<Debug_Server ua="na"></Debug_Server> -<Debug_Level ua="na"></Debug_Level> +<Syslog_Server ua="na"><%= web_server %></Syslog_Server> +<Debug_Server ua="na"><%= web_server %></Debug_Server> +<Debug_Level ua="na">0</Debug_Level> <Primary_NTP_Server ua="na"></Primary_NTP_Server> <Secondary_NTP_Server ua="na"></Secondary_NTP_Server> |