diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-06-29 00:36:27 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-06-29 00:36:27 +0000 |
commit | dafa3d10ce8476b21cf28b8b2c8f2bf24259d303 (patch) | |
tree | 74f4062018f7d73389022f1237f79f8f43682c59 /sshd_wizard | |
parent | c0f7ac7085ef26c1a3fcaf0aa3fe0b0936e4e26e (diff) | |
download | drakwizard-dafa3d10ce8476b21cf28b8b2c8f2bf24259d303.tar drakwizard-dafa3d10ce8476b21cf28b8b2c8f2bf24259d303.tar.gz drakwizard-dafa3d10ce8476b21cf28b8b2c8f2bf24259d303.tar.bz2 drakwizard-dafa3d10ce8476b21cf28b8b2c8f2bf24259d303.tar.xz drakwizard-dafa3d10ce8476b21cf28b8b2c8f2bf24259d303.zip |
glueconf support tabulation
Diffstat (limited to 'sshd_wizard')
-rwxr-xr-x | sshd_wizard/Sshd.pm | 4 |
1 files changed, 1 insertions, 3 deletions
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', }, |