pari: trunk r119 - in /trunk: ./ configs/ gui_configs/ tools/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Nov 9 14:25:13 MST 2006


Author: pari
Date: Thu Nov  9 15:25:13 2006
New Revision: 119

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=119
Log:
Part 1: install Related Changes

Added:
    trunk/gui_configs/
    trunk/gui_configs/gui_bkpfiles.conf
    trunk/gui_configs/gui_custommenus.conf
    trunk/gui_configs/gui_sysinfo
Removed:
    trunk/configs/backupfiles.conf
    trunk/configs/customvoicemenus.conf
Modified:
    trunk/Makefile
    trunk/tools/zapscan.bin

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk-gui/trunk/Makefile?view=diff&rev=119&r1=118&r2=119
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Nov  9 15:25:13 2006
@@ -151,6 +151,9 @@
 	mkdir -p $(CONFIGDIR)/images
 	mkdir -p $(CONFIGDIR)/scripts
 	mkdir -p $(CONFIGDIR)/stylesheets
+	for x in gui_configs/*; do \
+		cp $$x $(ASTETCDIR)/ ; \
+	done
 	for x in config/images/*; do \
 		$(INSTALL) -m 644 $$x $(CONFIGDIR)/images/ ; \
 	done

Added: trunk/gui_configs/gui_bkpfiles.conf
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_bkpfiles.conf?view=auto&rev=119
==============================================================================
    (empty)

Added: trunk/gui_configs/gui_custommenus.conf
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_custommenus.conf?view=auto&rev=119
==============================================================================
    (empty)

Added: trunk/gui_configs/gui_sysinfo
URL: http://svn.digium.com/view/asterisk-gui/trunk/gui_configs/gui_sysinfo?view=auto&rev=119
==============================================================================
--- trunk/gui_configs/gui_sysinfo (added)
+++ trunk/gui_configs/gui_sysinfo Thu Nov  9 15:25:13 2006
@@ -1,0 +1,36 @@
+#!/bin/sh
+/bin/echo "[uname]" > /etc/asterisk/gui_sysinfo.conf
+UNAME="`/bin/uname -srmpio`"
+/bin/echo "output =  $UNAME "  >> /etc/asterisk/gui_sysinfo.conf
+
+
+/bin/echo "[uptime]" >> /etc/asterisk/gui_sysinfo.conf
+UPTIME="`/usr/bin/uptime`"
+/bin/echo "output = $UPTIME" >> /etc/asterisk/gui_sysinfo.conf
+
+/bin/echo "[asterisk]" >> /etc/asterisk/gui_sysinfo.conf
+ASTERISK="`/usr/sbin/asterisk -V`"
+/bin/echo "output = $ASTERISK" >> /etc/asterisk/gui_sysinfo.conf
+
+
+/bin/echo "[today]" >> /etc/asterisk/gui_sysinfo.conf
+TODAY="`/bin/date`"
+/bin/echo "output = $TODAY" >> /etc/asterisk/gui_sysinfo.conf
+
+
+/bin/echo "[hostname]" >> /etc/asterisk/gui_sysinfo.conf
+HOSTNAME="`/bin/hostname -f`"
+/bin/echo "output = $HOSTNAME" >> /etc/asterisk/gui_sysinfo.conf
+
+/bin/echo "[ifconfig]" >> /etc/asterisk/gui_sysinfo.conf
+IFCONFIG=`/sbin/ifconfig | sed -e "s/^/output = /g"`
+/bin/echo "$IFCONFIG" >> /etc/asterisk/gui_sysinfo.conf 
+
+
+/bin/echo "[du]" >> /etc/asterisk/gui_sysinfo.conf
+DISKUSAGE=`/bin/df -h | sed -e "s/^/output = /g"`
+/bin/echo "$DISKUSAGE" >> /etc/asterisk/gui_sysinfo.conf 
+
+/bin/echo "[free]" >> /etc/asterisk/gui_sysinfo.conf
+MEMORYUSAGE=`/bin/free | sed -e "s/^/output = /g"`
+/bin/echo "$MEMORYUSAGE" >> /etc/asterisk/gui_sysinfo.conf 

Modified: trunk/tools/zapscan.bin
URL: http://svn.digium.com/view/asterisk-gui/trunk/tools/zapscan.bin?view=diff&rev=119&r1=118&r2=119
==============================================================================
Binary files - no diff available.



More information about the asterisk-gui-commits mailing list