From 0e0639d6aedc184400067cecb8f5a0530df193cd Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 18 Apr 2019 18:23:22 +0200 Subject: T1344: rename RADIUS 'system login' nodes In order to prepare for adding a RADIUS source IP address and synchronize the syntax with L2TP/PPTP the nodes have been renamed from: set system login radius-server x.x.x.x to set system login radius server x.x.x.x --- scripts/system/vyatta_update_login.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3