diff options
author | ivan <ivan> | 2007-10-29 11:18:14 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-10-29 11:18:14 +0000 |
commit | 71af306c68c2733bd478d40d949e1cb49bf5eac4 (patch) | |
tree | 08214eaa253332e28811c3828fb0a72155f8998e /FS/bin/freeside-setup | |
parent | 804a4999a84b827ac4ec3fa34158e097da31ade3 (diff) |
forgotton freeside-setup bits of mysql locking workaround
Diffstat (limited to 'FS/bin/freeside-setup')
-rwxr-xr-x | FS/bin/freeside-setup | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/FS/bin/freeside-setup b/FS/bin/freeside-setup index 7ea1025eb..9b16d78cb 100755 --- a/FS/bin/freeside-setup +++ b/FS/bin/freeside-setup @@ -32,9 +32,7 @@ my($dbdef_file) = "%%%FREESIDE_CONF%%%/dbdef.". datasrc; ### -#print "\nEnter the maximum username length: "; -#my($username_len)=&getvalue; -my $username_len = 32; #usernamemax config file +my $username_len = 32; #print "\n\n", <<END, ":"; #Freeside tracks the RADIUS User-Name, check attribute Password and @@ -81,7 +79,7 @@ my $username_len = 32; #usernamemax config file # create a dbdef object from the old data structure ### -my $dbdef = dbdef_dist; +my $dbdef = dbdef_dist(datasrc); #important $dbdef->save($dbdef_file); @@ -100,7 +98,6 @@ $FS::UID::callback_hack = 0; $|=1; foreach my $statement ( $dbdef->sql($dbh) ) { - warn $statement if $statement =~ /TABLE cdr/; $dbh->do( $statement ) or die "CREATE error: ". $dbh->errstr. "\ndoing statement: $statement"; } |