summaryrefslogtreecommitdiffstats
path: root/sshd_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-08-29 09:20:27 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-08-29 09:20:27 +0000
commitb379e1721f86ad4ae4f60d8a0aa2199e3d879bbc (patch)
tree0e463ce812cb46439473c793f5d9ce4244b26497 /sshd_wizard
parentd5ff1301583687e66d6a60fc832f95e8cc32fe05 (diff)
downloaddrakwizard-b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc.tar
drakwizard-b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc.tar.gz
drakwizard-b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc.tar.bz2
drakwizard-b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc.tar.xz
drakwizard-b379e1721f86ad4ae4f60d8a0aa2199e3d879bbc.zip
add icons in drakwizard rpm
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'),