summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2001-12-11 10:38:56 +0000
committerivan <ivan>2001-12-11 10:38:56 +0000
commit03dcc6e0f48fae0b892dbd36229884e684b94049 (patch)
tree3499aa9ddd785760795b817b7f2cdbbf23e89d1b
parentc88ce379ab3075629aed1c674124c8ca13ad7dbe (diff)
radiusprepend config file for export
add Archive::Tar to docs
-rwxr-xr-xbin/svc_acct.export10
-rw-r--r--httemplate/docs/install.html1
2 files changed, 10 insertions, 1 deletions
diff --git a/bin/svc_acct.export b/bin/svc_acct.export
index 727186085..8c408a2e8 100755
--- a/bin/svc_acct.export
+++ b/bin/svc_acct.export
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# $Id: svc_acct.export,v 1.26 2001-10-24 15:29:30 ivan Exp $
+# $Id: svc_acct.export,v 1.27 2001-12-11 10:38:56 ivan Exp $
#
# Create and export password, radius and vpopmail password files:
# passwd, passwd.adjunct, shadow, acp_passwd, acp_userinfo, acp_dialup
@@ -68,6 +68,12 @@ my $textradiusprepend =
warn "using depriciated textradiusprepend file" if $textradiusprepend;
+
+my $radiusprepend =
+ $conf->exists('radiusprepend')
+ ? $conf->config('radiusprepend')
+ : '';
+
my @vpopmailmachines = $conf->config('vpopmailmachines')
if $conf->exists('vpopmailmachines');
my $vpopmailrestart = '';
@@ -190,6 +196,8 @@ if ( $icradiusmachines ) {
setpriority(0,0,10);
+print USERS "$radiusprepend\n";
+
my %usernames; ## this hack helps keep the passwd files sane
my @sendmail;
diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html
index 60f549edb..0bf2c1616 100644
--- a/httemplate/docs/install.html
+++ b/httemplate/docs/install.html
@@ -36,6 +36,7 @@ Before installing, you need:
<li><a href="http://search.cpan.org/search?dist=FreezeThaw">FreezeThaw</a>
<li><a href="http://search.cpan.org/search?dist=String-Approx">String-Approx</a>
<li><a href="http://search.cpan.org/search?dist=Text-Template">Text-Template</a>
+ <li><a href="http://search.cpan.org/search?dist=Archive-Tar">Archive-Tar</a>
<li><a href="http://search.cpan.org/search?dist=DBI">DBI</a>
<li><a href="http://search.cpan.org/search?mode=module&query=DBD">DBD for your database engine</a>
<li><a href="http://search.cpan.org/search?dist=DBIx-DataSource">DBIx-DataSource</a>