diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-02 14:08:23 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-07-17 14:30:20 -0700 |
commit | 6859b8c8e408817161a1723a19396c880ae6e889 (patch) | |
tree | dafc6413f260072ab72e362d685c1419171322e7 | |
parent | 3ed82382feefc61104be1f324302a1aaee6e9fb3 (diff) | |
download | vyatta-cfg-system-6859b8c8e408817161a1723a19396c880ae6e889.tar.gz vyatta-cfg-system-6859b8c8e408817161a1723a19396c880ae6e889.zip |
Make Radius server work
Translate radius-server to Vyatta::Login::RadiusServer
(cherry picked from commit bf86040fef55fdb644b3670a9e1ec093e67df828)
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | lib/Vyatta/Login/RadiusServer.pm (renamed from lib/Vyatta/Login/Radius.pm) | 2 | ||||
-rw-r--r-- | scripts/system/vyatta_update_login.pl | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 2168e11e..4a7e23a4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,7 @@ sbin_SCRIPTS += scripts/zone-mgmt/vyatta-zone.pl sbin_SCRIPTS += scripts/vyatta-banner.pl share_perl5_DATA = lib/Vyatta/Login/User.pm -share_perl5_DATA += lib/Vyatta/Login/Radius.pm +share_perl5_DATA += lib/Vyatta/Login/RadiusServer.pm noinst_DATA = test_bootfile diff --git a/lib/Vyatta/Login/Radius.pm b/lib/Vyatta/Login/RadiusServer.pm index 6a949434..97ae4eb6 100644 --- a/lib/Vyatta/Login/Radius.pm +++ b/lib/Vyatta/Login/RadiusServer.pm @@ -14,7 +14,7 @@ # # **** End License **** -package Vyatta::Login::Radius; +package Vyatta::Login::RadiusServer; use strict; use warnings; use lib "/opt/vyatta/share/perl5"; diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index b2125de1..b854427b 100644 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -28,6 +28,8 @@ $config->setLevel("system login"); foreach my $type ($config->listNodes()) { my $kind = ucfirst $type; + $kind =~ s/-server/Server/; + my $location = "Vyatta/Login/$kind.pm"; my $class = "Vyatta::Login::$kind"; |