From dafa3d10ce8476b21cf28b8b2c8f2bf24259d303 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Wed, 29 Jun 2005 00:36:27 +0000 Subject: glueconf support tabulation --- sshd_wizard/Sshd.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sshd_wizard') diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm index 820eed20..a29a70e6 100755 --- a/sshd_wizard/Sshd.pm +++ b/sshd_wizard/Sshd.pm @@ -34,8 +34,6 @@ my $conf = "/etc/ssh/sshd_config"; my $DOMAINNAME = chomp_(`dnsdomainname`); my $SHORTHOSTNAME = chomp_(`hostname -s`); -# remove anoying \t in /etc/ssh/sshd_config to permit Glueconf to read it -substInFile { s/\t/ /gi } $conf; # we ask glueconf to give us the structure representing /etc/ssh/sshd_config my $sshd = new Libconf::Glueconf::Ssh::Sshd_config({ filename => '/etc/ssh/sshd_config' }); @@ -69,7 +67,7 @@ $o->{pages} = { welcome => { name => N('OpenSSH SSH daemon configuration'), data => [ - { label => "", type => 'list', val => \$o->{var}{wiz_type}, list => [ keys %type ], format => sub { $type{$_[0]} } }, + { label => N("Wich type of configuration do you you want to do:"), type => 'list', val => \$o->{var}{wiz_type}, list => [ keys %type ], format => sub { $type{$_[0]} } }, ], next => 'config_step1', }, -- cgit v1.2.1