jlyons: trunk r217 - /trunk/gui_configs/gui_sysinfo

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Jan 5 13:10:13 MST 2007


Author: jlyons
Date: Fri Jan  5 14:10:12 2007
New Revision: 217

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=217
Log:
Reverting back to 208, as this would break on non-bash systems

Modified:
    trunk/gui_configs/gui_sysinfo

Modified: trunk/gui_configs/gui_sysinfo
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_sysinfo?view=diff&rev=217&r1=216&r2=217
==============================================================================
--- trunk/gui_configs/gui_sysinfo (original)
+++ trunk/gui_configs/gui_sysinfo Fri Jan  5 14:10:12 2007
@@ -26,4 +26,5 @@
 
 THISMONTH=`/bin/date +%b`
 THISDAY=`/bin/date +%d`
-/bin/grep /var/log/asterisk/messages -e "$THISMONTH ${THISDAY/#0/ }" > /var/lib/asterisk/static-http/config/bkps/today_log.html
+THIS_DAY=`/bin/date +%_d`
+/bin/grep /var/log/asterisk/messages -e "$THISMONTH\( $THISDAY\| $THIS_DAY\)" > /var/lib/asterisk/static-http/config/bkps/today_log.html



More information about the asterisk-gui-commits mailing list