X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-setup;h=d6e191f3bc2671384ac505e838392973d2529597;hb=dc83512c36dc6bea2585abada4f88d714c600e55;hp=155c74aa0dd13eaafee0cfa587fa5f0a20104632;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 155c74aa0..d6e191f3b 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -1,5 +1,11 @@ #!/usr/bin/perl -w +=head1 NAME + +freeside-setup + +=cut + #to delay loading dbdef until we're ready BEGIN { $FS::Schema::setup_hack = 1; } @@ -32,56 +38,13 @@ $config_dir =~ /^([\w.:=\/]+)$/ or die "unacceptable configuration directory name"; $config_dir = $1; -getsecrets($opt_u); +getsecrets(); #needs to match FS::Record my($dbdef_file) = "%%%FREESIDE_CONF%%%/dbdef.". datasrc; -### - my $username_len = 32; -#print "\n\n", <); -# chop $x; -# $x; -#} -# -#sub _yesno { -# print " [y/N]:"; -# my $x = scalar(); -# $x =~ /^y/i; -#} - -#my @check_attributes = (); #add later -#my @attributes = (); #add later -#my $ship = $opt_s; - ### # create a dbdef object from the old data structure ###