diff options
Diffstat (limited to 'FS/bin/freeside-addoutsource')
-rw-r--r-- | FS/bin/freeside-addoutsource | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/FS/bin/freeside-addoutsource b/FS/bin/freeside-addoutsource deleted file mode 100644 index 5cec17f46..000000000 --- a/FS/bin/freeside-addoutsource +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -domain=$1 - -createdb $domain && \ -\ -mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \ -\ -chown freeside /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \ -\ -cp /home/ivan/freeside/conf/[a-z]* /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \ -\ -touch /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \ -\ -chown freeside /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \ -\ -chmod 600 /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \ -\ -echo -e "DBI:Pg:host=localhost;dbname=$domain\nfreeside\n" >/usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain/secrets && \ -\ -mkdir /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \ -mkdir /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \ -mkdir /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain - |