variable reset added to fastagilog

fixed help display in ADMIN_backup script

git-svn-id: svn://192.168.202.10@865 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-05-16 09:27:40 +00:00
parent c4b69ded6e
commit 1947015969
3 changed files with 6 additions and 5 deletions
@@ -42,7 +42,6 @@ if (length($ARGV[0])>1)
if ($args =~ /--help/i)
{
print "allowed run time options:\n";
print " [--all] = *DEFAULT* show GMT offset of records as they are inserted into hopper\n";
print " [--db-only] = only backup the database\n";
print " [--conf-only] = only backup the asterisk conf files\n";
print " [--without-db] = do not backup the database\n";
@@ -251,6 +251,8 @@ sub process_request {
}
$HVcauses=0;
$fullCID=0;
$callerid='';
$calleridname='';
$|=1;
while(<STDIN>) {
chomp;
@@ -32,15 +32,15 @@ PHASE 1: INSTALLING ASTERISK
mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://ftp.digium.com/pub/asterisk/releases/asterisk-1.2.27.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.24.tar.gz
wget http://ftp.digium.com/pub/zaptel/releases/zaptel-1.2.25.tar.gz
wget http://ftp.digium.com/pub/libpri/releases/libpri-1.2.7.tar.gz
gunzip asterisk-1.2.27.tar.gz
tar xvf asterisk-1.2.27.tar
gunzip zaptel-1.2.24.tar.gz
tar xvf zaptel-1.2.24.tar
gunzip zaptel-1.2.25.tar.gz
tar xvf zaptel-1.2.25.tar
gunzip libpri-1.2.7.tar.gz
tar xvf libpri-1.2.7.tar
cd ./zaptel-1.2.24
cd ./zaptel-1.2.25
wget http://www.freedomphones.net/files/newt-0.51.6.tar.gz
gunzip newt-0.51.6.tar.gz
tar xvf newt-0.51.6.tar