From eb061f5119325e666f0dff40d4089e5c1df58e17 Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 16 Mar 2008 19:58:34 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'TRIXBOX_2_6'. --- FS/bin/freeside-addoutsource | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 FS/bin/freeside-addoutsource (limited to 'FS/bin/freeside-addoutsource') diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource deleted file mode 100644 index 9cb12195a..000000000 --- a/FS/bin/freeside-addoutsource +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -domain=$1 - -FREESIDE_CONF=%%%FREESIDE_CONF%%% -FREESIDE_CACHE=%%%FREESIDE_CACHE%%% -FREESIDE_EXPORT=%%%FREESIDE_EXPORT%%% - -#without this, [a-z]* matches CVS/, the copy doesn't return a sucessful error -# status, and the rest of the commands aren't run -export LANG=C - -createdb $domain && \ -\ -mkdir $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain && \ -\ -chown freeside $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain && \ -\ -cp /home/ivan/freeside/conf/[a-z]* $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain && \ -\ -touch $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ -\ -chown freeside $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ -\ -chmod 600 $FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ -\ -echo -e "DBI:Pg:dbname=$domain\nfreeside\n" >$FREESIDE_CONF/conf.DBI:Pg:dbname=$domain/secrets && \ -\ -mkdir $FREESIDE_CACHE/counters.DBI:Pg:dbname=$domain && \ -mkdir $FREESIDE_CACHE/cache.DBI:Pg:dbname=$domain && \ -mkdir $FREESIDE_EXPORT/export.DBI:Pg:dbname=$domain - -- cgit v1.2.1