summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-05-16 11:13:21 +0000
committerdamien <damien@mandriva.com>2001-05-16 11:13:21 +0000
commitca8bc9d27bbb85c816a4bedcb415c3839f1660d6 (patch)
tree9d76c7d4574b3d68666fa051a9595b453353d8c8 /perl-install
parent528db7cf381b73d528c1081fcf7b503e732a3465 (diff)
downloaddrakx-ca8bc9d27bbb85c816a4bedcb415c3839f1660d6.tar
drakx-ca8bc9d27bbb85c816a4bedcb415c3839f1660d6.tar.gz
drakx-ca8bc9d27bbb85c816a4bedcb415c3839f1660d6.tar.bz2
drakx-ca8bc9d27bbb85c816a4bedcb415c3839f1660d6.tar.xz
drakx-ca8bc9d27bbb85c816a4bedcb415c3839f1660d6.zip
added icon management
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/XFdrake2
-rwxr-xr-xperl-install/standalone/adduserdrake2
-rwxr-xr-xperl-install/standalone/drakboot2
-rwxr-xr-xperl-install/standalone/drakgw5
-rwxr-xr-xperl-install/standalone/draksec2
-rwxr-xr-xperl-install/standalone/drakxservices2
-rwxr-xr-xperl-install/standalone/keyboarddrake2
-rwxr-xr-xperl-install/standalone/printerdrake2
8 files changed, 11 insertions, 8 deletions
diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake
index 86eed2bcd..396f8b938 100755
--- a/perl-install/standalone/XFdrake
+++ b/perl-install/standalone/XFdrake
@@ -42,7 +42,7 @@ $::noauto = /-noauto/;
$::testing = /-testing/;
$i->{skiptest} = /-skiptest/;
-my $in = interactive->vnew('su');
+my $in = interactive->vnew('su', 'X');
-r '/etc/modules.conf' and modules::mergein_conf('/etc/modules.conf');
diff --git a/perl-install/standalone/adduserdrake b/perl-install/standalone/adduserdrake
index b034f13d0..b7d06dc93 100755
--- a/perl-install/standalone/adduserdrake
+++ b/perl-install/standalone/adduserdrake
@@ -26,7 +26,7 @@ my $in;
if (my @l = grep { ! /^-/ } @ARGV) {
$users = [ map { { name => $_, realname => $_ } } @l ];
} else {
- $in = interactive->vnew('su');
+ $in = interactive->vnew('su', 'user');
any::ask_users('', $in, $users, $ENV{SECURE_LEVEL});
}
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index b1d47924c..d55cad90d 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -20,7 +20,7 @@ local $_ = join '', @ARGV;
$::expert = /-expert/;
-my $in = interactive->vnew('su');
+my $in = interactive->vnew('su', 'bootloader');
require 'bootlook.pm' if ref($in) =~ /gtk/;
lilo_choice();
diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw
index ec545faaa..ce8a2da10 100755
--- a/perl-install/standalone/drakgw
+++ b/perl-install/standalone/drakgw
@@ -54,7 +54,7 @@ log::l("[drakgw] kernel_version $kernel_version");
$kernel_version eq '2.2' || $kernel_version eq '2.4' or die "Only for 2.2 or 2.4 kernels.\n";
-my $in = interactive::vnew('su');
+my $in = interactive::vnew('su', 'default');
pur_gtk_mode() if $::isEmbedded && ref($in) =~ /gtk/;
@@ -656,6 +656,9 @@ Click on Configure to launch the setup wizard.", $setup_state));
#-------------------------------------------------
#- $Log$
+#- Revision 1.44 2001/05/16 11:13:21 damien
+#- added icon management
+#-
#- Revision 1.43 2001/05/15 14:36:31 gc
#- full path for iptables
#-
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 0ee54873c..fcb12ac75 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -15,7 +15,7 @@ local $_ = join '', @ARGV;
$::expert = /-expert/ || cat_("/etc/sysconfig/system") =~ /^CLASS="?expert/m; #"
$::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/;
-my $in = vnew interactive('su');
+my $in = vnew interactive('su', 'security');
my %m = reverse (my %l = (
0 => _("Welcome To Crackers"),
diff --git a/perl-install/standalone/drakxservices b/perl-install/standalone/drakxservices
index 293813893..b2e961436 100755
--- a/perl-install/standalone/drakxservices
+++ b/perl-install/standalone/drakxservices
@@ -15,7 +15,7 @@ local $_ = join '', @ARGV;
/-h/ and die "usage: drakxservices\n";
-my $in = vnew interactive('su');
+my $in = vnew interactive('su', 'services');
begin:
my $l = services::ask($in);
services::doit($in, $l) if $l;
diff --git a/perl-install/standalone/keyboarddrake b/perl-install/standalone/keyboarddrake
index e1177c148..631193d34 100755
--- a/perl-install/standalone/keyboarddrake
+++ b/perl-install/standalone/keyboarddrake
@@ -21,7 +21,7 @@ print "[$::expert]\n";
my $keyboard='';
if ($::expert) { ($keyboard) = grep { !/^-/ } @ARGV;}
print "[$keyboard]\n";
-my $in = interactive->vnew('su');
+my $in = interactive->vnew('su', 'keyboard');
begin:
$::isEmbedded and kill USR2, $::CCPID;
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 828269f52..6bf0dd3fb 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -43,7 +43,7 @@ my $printer; eval { $printer = printer::getinfo('') };
/-cups/ and $printer->{mode} = 'CUPS';
$printer->{mode} ||= 'CUPS'; #- assume this default if nothing found.
-my $in = vnew interactive('su');
+my $in = vnew interactive('su', 'printer');
-r '/etc/modules.conf' and modules::mergein_conf('/etc/modules.conf');