summaryrefslogtreecommitdiffstats
path: root/sshd_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'sshd_wizard')
-rw-r--r--sshd_wizard/Makefile4
-rwxr-xr-xsshd_wizard/Sshd.pm7
2 files changed, 6 insertions, 5 deletions
diff --git a/sshd_wizard/Makefile b/sshd_wizard/Makefile
index 925452c2..7f9a8e7d 100644
--- a/sshd_wizard/Makefile
+++ b/sshd_wizard/Makefile
@@ -4,5 +4,5 @@ install2:
install:
mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards
mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/sshd_wizard
-# mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/sshd_wizard/images
-# install --mode=a=r -p ./images/sshd.png ${prefix}/share/wizards/sshd_wizard/images
+ mkdir -p --mode=u=rwx,g=rx,o=rx ${prefix}/share/wizards/sshd_wizard/images
+ install --mode=a=r -p ./images/IC-Dssh-48.png ${prefix}/share/wizards/sshd_wizard/images
diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm
index 10e936ec..ee70fc83 100755
--- a/sshd_wizard/Sshd.pm
+++ b/sshd_wizard/Sshd.pm
@@ -46,9 +46,9 @@ my $o = {
var => {
wiz_port => '',
},
-# init => sub {
-# test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
-# },
+ init => sub {
+ test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
+ },
needed_rpm => [ 'openssh-server' ],
defaultimage => "/usr/share/wizards/sshd_wizard/images/sshd.png"
};
@@ -70,6 +70,7 @@ $o->{pages} = {
{ label => "", type => 'list', val => \$o->{var}{wiz_type}, list => [ keys %type ], format => sub { $type{$_[0]} } },
],
next => 'config_step1',
+ no_back => 1,
},
config_step1 => {
name => N('SSH server, classical options'),