diff options
Diffstat (limited to 'www/asterisk-gui/files/patch-config-sysinfo.html')
-rw-r--r-- | www/asterisk-gui/files/patch-config-sysinfo.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/asterisk-gui/files/patch-config-sysinfo.html b/www/asterisk-gui/files/patch-config-sysinfo.html new file mode 100644 index 000000000000..fb196d4ef6c3 --- /dev/null +++ b/www/asterisk-gui/files/patch-config-sysinfo.html @@ -0,0 +1,13 @@ +--- config/sysinfo.html.orig Sat Mar 31 20:31:33 2007 ++++ config/sysinfo.html Sat Mar 31 20:32:18 2007 +@@ -34,8 +34,8 @@ + _$('status_message').style.display = "" ; + var _ld = _$('log_day').value; + if( _ld < 10 ){ var space = " "; }else{ var space = " "; } +- var tmp_command = "/bin/grep /var/log/asterisk/messages -e '" + _$('log_month').value + space + _ld +- + " ' > /var/lib/asterisk/static-http/config/today_log.html" ; ++ var tmp_command = "grep /var/log/asterisk/messages -e '" + _$('log_month').value + space + _ld ++ + " ' > %%PREFIX%%/share/asterisk/static-http/config/today_log.html" ; + parent.astmanEngine.run_tool( tmp_command , onSuccess = function() { _$('status_message').style.display='none'; load_todayslog(); } ); + } + |