https://qa.mandrakesoft.com/show_bug.cgi?id=2358
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|25 |[EMAIL PROTECTED]
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From [EMAIL PROTECTED] 2003-02-25 09:30 -------
my manager just asked me to do so half a hour ago :-)
i did something similar but forget the $in->exit modifier.
thanks
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: __UNKNOWN__
status: RESOLVED
creation_date:
description:
At bootup (or when doing a service harddrake start) the screen is cleared even if no
information
is written/read to/from the screen. Could I suggest the following, so it only clears
the screen if
needed:
--- service_harddrake.old 2003-02-24 02:58:54.000000000 +0100
+++ service_harddrake 2003-02-24 19:19:16.000000000 +0100
@@ -23,7 +23,7 @@
my $previous_config = -f $last_boot_config && -s $last_boot_config ?
Storable::retrieve($last_boot_config) : {};
$previous_config = $$previous_config if ref($previous_config) !~ /HASH/;
my (%config, $wait);
-my $in = interactive->vnew;
+my $in;
# For each hw, class, detect device, compare and offer to reconfigure if needed
foreach (@harddrake::data::tree) {
@@ -65,6 +65,7 @@
if ($no) {
require interactive;
undef $wait;
+ $in = interactive->vnew unless ($in);
$wait = $in->wait_message(N("Please wait"), N("Hardware probing in
progress"));
} elsif ($res) {
if (fork()) {
@@ -81,4 +82,4 @@
harddrake::sound::configure_sound_slots();
modules::write_conf();
-$in->exit(0);
+$in->exit(0) if ($in);