pari: branch asterisknow r529 - in /branches/asterisknow: ./
gui_configs/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Wed Mar 28 22:24:27 MST 2007
Author: pari
Date: Thu Mar 29 00:24:26 2007
New Revision: 529
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=529
Log:
Merged revisions 511 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/trunk
........
r511 | pari | 2007-03-28 00:46:58 -0500 (Wed, 28 Mar 2007) | 1 line
faster way of listing files
........
Modified:
branches/asterisknow/ (props changed)
branches/asterisknow/gui_configs/gui_sysinfo
Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Mar 29 00:24:26 2007
@@ -1,1 +1,1 @@
-/trunk:1-448,501-505,507
+/trunk:1-448,501-505,507,511
Modified: branches/asterisknow/gui_configs/gui_sysinfo
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/gui_configs/gui_sysinfo?view=diff&rev=529&r1=528&r2=529
==============================================================================
--- branches/asterisknow/gui_configs/gui_sysinfo (original)
+++ branches/asterisknow/gui_configs/gui_sysinfo Thu Mar 29 00:24:26 2007
@@ -34,34 +34,18 @@
/bin/echo "<div id=bkp_files>" >> $SYSINFO_OUTPUT
/bin/mkdir -p /var/lib/asterisk/gui_configbackups
-BKPFILES=`ls /var/lib/asterisk/gui_configbackups/`
-for i in $BKPFILES
-do
-/bin/echo "$i<BR>" >> $SYSINFO_OUTPUT
-done
+/bin/ls /var/lib/asterisk/gui_configbackups/ >> $SYSINFO_OUTPUT
+/bin/echo "</div>" >> $SYSINFO_OUTPUT
+
+/bin/echo "<div id=rec_files>" >> $SYSINFO_OUTPUT
+/bin/mkdir -p /var/lib/asterisk/sounds/record
+/bin/ls /var/lib/asterisk/sounds/record/ >> $SYSINFO_OUTPUT
+/bin/echo "</div>" >> $SYSINFO_OUTPUT
+
+/bin/echo "<div id=sound_files>" >> $SYSINFO_OUTPUT
+/bin/mkdir -p /var/lib/asterisk/sounds
+/bin/ls /var/lib/asterisk/sounds/ >> $SYSINFO_OUTPUT
/bin/echo "</div>" >> $SYSINFO_OUTPUT
-/bin/echo "<div id=rec_files>" >> $SYSINFO_OUTPUT
-/bin/mkdir -p /var/lib/asterisk/sounds/record
-RECFILES=`ls /var/lib/asterisk/sounds/record/`
-for i in $RECFILES
-do
-/bin/echo "$i<BR>" >> $SYSINFO_OUTPUT
-done
-/bin/echo "</div>" >> $SYSINFO_OUTPUT
-
-
-
-/bin/echo "<div id=sound_files>" >> $SYSINFO_OUTPUT
-/bin/mkdir -p /var/lib/asterisk/sounds
-SNDFILES=`ls /var/lib/asterisk/sounds/`
-for i in $SNDFILES
-do
-/bin/echo "$i<BR>" >> $SYSINFO_OUTPUT
-done
-/bin/echo "</div>" >> $SYSINFO_OUTPUT
-
-
-
More information about the asterisk-gui-commits
mailing list