summaryrefslogtreecommitdiff
path: root/bin/fs-setup
diff options
context:
space:
mode:
authorivan <ivan>1999-04-14 07:58:39 +0000
committerivan <ivan>1999-04-14 07:58:39 +0000
commitce11defad5298448b5c62c7e40fa1d0351f2af8a (patch)
treea0763758bca0450f2ae8b73904bdffa2582478ad /bin/fs-setup
parenta4cdd045fcb3edab2b49d5603e02ce5683a778af (diff)
export getsecrets from FS::UID instead of calling it explicitly
Diffstat (limited to 'bin/fs-setup')
-rwxr-xr-xbin/fs-setup11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/fs-setup b/bin/fs-setup
index b7d4a1889..d21b41d3d 100755
--- a/bin/fs-setup
+++ b/bin/fs-setup
@@ -1,6 +1,6 @@
#!/usr/bin/perl -Tw
#
-# $Id: fs-setup,v 1.16 1999-02-28 19:44:16 ivan Exp $
+# $Id: fs-setup,v 1.17 1999-04-14 07:58:39 ivan Exp $
#
# ivan@sisd.com 97-nov-8,9
#
@@ -32,7 +32,10 @@
# fix radius attributes ivan@sisd.com 98-sep-27
#
# $Log: fs-setup,v $
-# Revision 1.16 1999-02-28 19:44:16 ivan
+# Revision 1.17 1999-04-14 07:58:39 ivan
+# export getsecrets from FS::UID instead of calling it explicitly
+#
+# Revision 1.16 1999/02/28 19:44:16 ivan
# constructors s/create/new/ pointed out by "Bao C. Ha" <bao@hacom.net>
#
# Revision 1.15 1999/02/27 21:06:21 ivan
@@ -82,14 +85,14 @@ BEGIN { $FS::Record::setup_hack = 1; }
use strict;
use DBI;
use FS::dbdef;
-use FS::UID qw(adminsuidsetup datasrc checkeuid);
+use FS::UID qw(adminsuidsetup datasrc checkeuid getsecrets);
use FS::Record;
use FS::cust_main_county;
die "Not running uid freeside!" unless checkeuid();
my $user = shift or die &usage;
-FS::UID::getsecrets $user;
+getsecrets($user);
#needs to match FS::Record
my($dbdef_file) = "/usr/local/etc/freeside/dbdef.". datasrc;