[freeside-commits] branch master updated. bd704e2d54ed7b44a722f1316f64b8599a548441

Ivan ivan at 420.am
Sun Feb 19 18:32:06 PST 2012


The branch, master has been updated
       via  bd704e2d54ed7b44a722f1316f64b8599a548441 (commit)
      from  a0aaff1c093d24a0067074c06e85ccb15d8ecdc8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bd704e2d54ed7b44a722f1316f64b8599a548441
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Feb 19 18:32:04 2012 -0800

    adding some old random tools from the CVS tree

diff --git a/bin/move-datasrc b/bin/move-datasrc
new file mode 100644
index 0000000..e048cbe
--- /dev/null
+++ b/bin/move-datasrc
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+NEWDATASRC=
+NEWUSER=
+NEWPASS=
+
+cd /usr/local/etc/freeside
+
+mv secrets secrets.OLD
+echo "$NEWDATASRC\n$NEWUSER\n$NEWPASS" >secrets
+
+for a in cache clientapi_session conf counters dbdef export
+  do mv $a.DBI:Pg:dbname=freeside "$a.$NEWDATASRC"
+done
+

-----------------------------------------------------------------------

Summary of changes:
 bin/move-datasrc |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 bin/move-datasrc


hooks/post-receive
-- 
Freeside billing, trouble ticketing, network monitoring and provisioning


More information about the freeside-commits mailing list