summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_login.pl
diff options
context:
space:
mode:
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";