From b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Mon, 29 Aug 2005 09:20:27 +0000 Subject: add icons in drakwizard rpm --- sshd_wizard/Makefile | 4 ++-- sshd_wizard/Sshd.pm | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'sshd_wizard') 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'), -- cgit v1.2.1