RT# 78547 noexport_hack part_svc::sqlradius
[freeside.git] / bin / move-datasrc
1 #!/bin/sh
2
3 NEWDATASRC=
4 NEWUSER=
5 NEWPASS=
6
7 cd /usr/local/etc/freeside
8
9 mv secrets secrets.OLD
10 echo "$NEWDATASRC\n$NEWUSER\n$NEWPASS" >secrets
11
12 for a in cache clientapi_session conf counters dbdef export
13   do mv $a.DBI:Pg:dbname=freeside "$a.$NEWDATASRC"
14 done
15