summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 15:01:26 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 15:01:26 -0700
commit604a1aaeee3cd3386febf5099936359b3647d56d (patch)
tree83b0bcb0fb86821216b169362a6da7e8cede03bf /scripts/system
parent0c0e1b04823e9faa479e4462c6eb958df0871b42 (diff)
downloadvyatta-cfg-quagga-604a1aaeee3cd3386febf5099936359b3647d56d.tar.gz
vyatta-cfg-quagga-604a1aaeee3cd3386febf5099936359b3647d56d.zip
remove workaround for broken "default:".
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_login_user.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl
index fa403224..b246cee6 100755
--- a/scripts/system/vyatta_update_login_user.pl
+++ b/scripts/system/vyatta_update_login_user.pl
@@ -140,10 +140,6 @@ my %group_map = (
'admin' => 'quaggavty',
'users' => 'users',
);
-# XXX temporary workaround until "default:" works in CLI backend.
-if (!defined($group) || $group eq '') {
- $group = 'admin';
-}
exit 4 if (!defined($user) || !defined($full) || !defined($encrypted)
|| !defined($group));
exit 4 if (!defined($group_map{$group}));