diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-18 18:23:22 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-18 18:23:24 +0200 |
commit | 0e0639d6aedc184400067cecb8f5a0530df193cd (patch) | |
tree | 51169ab02045071115e442846dd3e6fe9a6d53d7 /scripts | |
parent | 4d852054acf06e5aca1b8db1444952788d1a0c41 (diff) | |
download | vyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.tar.gz vyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.zip |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_update_login.pl | 5 |
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 |