summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/system/vyatta_update_login.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl
index 94e88ed1..862dffe3 100644
--- a/scripts/system/vyatta_update_login.pl
+++ b/scripts/system/vyatta_update_login.pl
@@ -26,7 +26,9 @@ use Vyatta::Config;
my $config = new Vyatta::Config;
$config->setLevel("system login");
-foreach my $type ($config->listNodes()) {
+my %loginNodes = $config->listNodeStatus();
+while ( my ($type, $status) = each %loginNodes) {
+ next if ($status eq 'static');
my $kind = ucfirst $type;
$kind =~ s/-server/Server/;