From a2fc2a36a5261bca7eacfeb8e5deba4905e98f06 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Thu, 21 Jul 2005 06:23:56 +0000 Subject: show only users/group ID > 500, fix secure label. --- perl-install/standalone/draknfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/draknfs') diff --git a/perl-install/standalone/draknfs b/perl-install/standalone/draknfs index 449c48798..92857a014 100644 --- a/perl-install/standalone/draknfs +++ b/perl-install/standalone/draknfs @@ -254,7 +254,7 @@ sub get_user_or_group { my $conf = "/etc/" . $what; my @data; local $_; foreach (cat_($conf)) { - push @data, "$1 [$2]" if m/^([^#:]+):[^:]+:([^:]+):/; + push @data, "$1 [$2]" if m/^([^#:]+):[^:]+:([^:]+):/ and $2 > 499; } push @data, " "; return sort(@data); @@ -385,7 +385,7 @@ sub add_modify_entry { my $expender = Gtk2::Expander->new('Advanced options'); $expender->add(gtkpack_(Gtk2::VBox->new, 0, $label_and_widgets->($adv_options{sync}, $lsync, help_b(N_("Adcanced Options Help"), $help_global)), - 0, $label_and_widgets->($adv_options{secure}, $lsecure, ""), + 0, $label_and_widgets->($adv_options{secured}, $lsecure, ""), 0, $label_and_widgets->($adv_options{ro}, $lr, ""), ), ); -- cgit v1.2.1