summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_login.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 14:08:23 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2009-07-17 14:30:20 -0700
commit6859b8c8e408817161a1723a19396c880ae6e889 (patch)
treedafc6413f260072ab72e362d685c1419171322e7 /scripts/system/vyatta_update_login.pl
parent3ed82382feefc61104be1f324302a1aaee6e9fb3 (diff)
downloadvyatta-cfg-quagga-6859b8c8e408817161a1723a19396c880ae6e889.tar.gz
vyatta-cfg-quagga-6859b8c8e408817161a1723a19396c880ae6e889.zip
Make Radius server work
Translate radius-server to Vyatta::Login::RadiusServer (cherry picked from commit bf86040fef55fdb644b3670a9e1ec093e67df828)
Diffstat (limited to 'scripts/system/vyatta_update_login.pl')
-rw-r--r--scripts/system/vyatta_update_login.pl2
1 files changed, 2 insertions, 0 deletions
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";