summaryrefslogtreecommitdiff
path: root/bin/bsdshell.export
diff options
context:
space:
mode:
authorivan <ivan>2003-03-20 03:41:03 +0000
committerivan <ivan>2003-03-20 03:41:03 +0000
commit9aec22e5fd00800c6e7952ae5b85cc639d4b1e78 (patch)
tree11544ec21fa991b75933bc55c73bcc354e4cfd98 /bin/bsdshell.export
parent6609285a50f6c9110ae8d5a26a767fd895f1e325 (diff)
apache export!
Diffstat (limited to 'bin/bsdshell.export')
-rwxr-xr-xbin/bsdshell.export7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/bsdshell.export b/bin/bsdshell.export
index 10c2767..6e0d103 100755
--- a/bin/bsdshell.export
+++ b/bin/bsdshell.export
@@ -43,12 +43,7 @@ foreach my $export ( @bsd_exports ) {
chmod 0644, "$prefix/passwd";
chmod 0600, "$prefix/master.passwd";
- #false laziness with freeside-sqlradius-reset and bind.export
- my @svc_acct =
- map { qsearchs('svc_acct', { 'svcnum' => $_->svcnum } ) }
- map { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
- grep { qsearch('cust_svc', { 'svcpart' => $_->svcpart } ) }
- $export->export_svc;
+ my @svc_acct = $export->svc_x;
next unless @svc_acct;