summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_login.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/vyatta_update_login.pl')
-rwxr-xr-xscripts/system/vyatta_update_login.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl
index c41bb9df..41172c55 100755
--- a/scripts/system/vyatta_update_login.pl
+++ b/scripts/system/vyatta_update_login.pl
@@ -31,11 +31,8 @@ while ( my ($type, $status) = each %loginNodes) {
next if ($status eq 'static');
next if ($type eq 'banner');
- # convert radius-server to RadiusServer
- my $kind = ucfirst $type;
- $kind =~ s/-server/Server/;
-
# Dynamically load the module to handle that login method
+ my $kind = ucfirst $type;
require "Vyatta/Login/$kind.pm";
# Dynamically invoke update for this type