diff options
author | ivan <ivan> | 2000-03-06 14:19:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2000-03-06 14:19:15 +0000 |
commit | b70cf8e6aaeeef34baae4542f389ceab20f4f37d (patch) | |
tree | 586e7f3c3ee36297483f51cc68dee1a3efef11d2 /bin/svc_acct.export | |
parent | 236d0a0f93ffa2f7609f930c8af2c507741060ad (diff) |
ICRADIUS export bugfix
Diffstat (limited to 'bin/svc_acct.export')
-rwxr-xr-x | bin/svc_acct.export | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/svc_acct.export b/bin/svc_acct.export index 8cdccda1f..8bec4aa79 100755 --- a/bin/svc_acct.export +++ b/bin/svc_acct.export @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: svc_acct.export,v 1.3 2000-03-06 14:12:57 ivan Exp $ +# $Id: svc_acct.export,v 1.4 2000-03-06 14:19:15 ivan Exp $ # # Create and export password files: passwd, passwd.adjunct, shadow, # acp_passwd, acp_userinfo, acp_dialup, users @@ -38,8 +38,8 @@ # ivan@sisd.com 98-sep-18 # # $Log: svc_acct.export,v $ -# Revision 1.3 2000-03-06 14:12:57 ivan -# ICRADIUS export support +# Revision 1.4 2000-03-06 14:19:15 ivan +# ICRADIUS export bugfix # # Revision 1.2 1998/12/10 07:23:15 ivan # use FS::Conf, need user (for datasrc) @@ -360,7 +360,7 @@ foreach my $icradiusmachine ( @icradiusmachines ) { sshopen2("root\@$machine", $reader, $writer, "mysql --user=$user -p $db"); print $writer "$pass\nLOCK TABLES radcheck WRITE;\n"; foreach my $file ( glob("radcheck.*") ) { - scp($file,"root\@$icradiusmachine:$icradius_mysqldest/$file"); + scp($file,"root\@$icradiusmachine:$icradius_mysqldest/$db/$file"); } close $writer; close $reader; |