pari: trunk r469 - /trunk/gui_configs/gui_sysinfo

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 22 14:22:07 MST 2007


Author: pari
Date: Thu Mar 22 16:22:07 2007
New Revision: 469

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=469
Log:
changes in gui_sysinfo for a backups folder

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=469&r1=468&r2=469
==============================================================================
--- trunk/gui_configs/gui_sysinfo (original)
+++ trunk/gui_configs/gui_sysinfo Thu Mar 22 16:22:07 2007
@@ -30,3 +30,11 @@
 /bin/grep /var/log/asterisk/messages -e "$THISMONTH\( $THISDAY\| $THIS_DAY\)" > /var/lib/asterisk/static-http/config/bkps/today_log.html
 
 
+/bin/echo "<div id=bkp_files>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+/bin/mkdir -p /var/lib/asterisk/gui_configbackups
+BKPFILES=`ls /var/lib/asterisk/gui_configbackups/`
+for i in $BKPFILES
+do
+/bin/echo "$i<BR>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html
+done
+/bin/echo "</div>" >> /var/lib/asterisk/static-http/config/bkps/sysinfo_output.html



More information about the asterisk-gui-commits mailing list