[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#21289: marked as done (hwtools: /etc/rc.boot/hwtools should only conditionally run hdparm)



Your message dated Mon, 26 Apr 1999 00:49:56 +0200
with message-id <19990426004955.A5275@cibalia.gkvk.hr>
and subject line new hwtools 0.4
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 17 Apr 1998 18:12:06 +0000
Received: (qmail 991 invoked from network); 17 Apr 1998 18:12:05 -0000
Received: from ts10port67.port.net (HELO burrito.onshore.com) (mail@207.38.252.195)
  by debian.novare.net with SMTP; 17 Apr 1998 18:12:05 -0000
Received: from apharris by burrito.onshore.com with local (Exim 1.90 #1)
	id 0yQFDV-0000HJ-00 (Debian); Fri, 17 Apr 1998 13:46:25 -0400
From: aph@debian.org
Subject: hwtools: /etc/rc.boot/hwtools should only conditionally run hdparm
To: submit@bugs.debian.org
X-Mailer: bug 3.1.3
Reply-To: apharris@onShore.com
Message-Id: <E0yQFDV-0000HJ-00@burrito.onshore.com>
Sender: "Adam P. Harris" <apharris@burrito.onshore.com>
Date: Fri, 17 Apr 1998 13:46:25 -0400

Package: hwtools
Version: 0.3-4

/etc/rc.boot/hwtools will emit error message at boot time if the
package hdparm is not currently installed.

This should be handled more gracefully.  Here is an example of how
to do this:

if command -v hdparm >/dev/null 2>&1; then
   hdparm -q [PUT ARGS HERE]
fi

BTW, you also should conditionalize the execution of irqtune, since
the boot file is a config file and may reside on the system even
after the package is removed (not purged).

.....A. P. Harris...apharris@onShore.com...<URL:http://www.onShore.com/>
-- System Information
Debian Release: 2.0 (frozen)
Kernel Version: Linux burrito 2.0.32 #1 Thu Nov 27 11:35:28 EST 1997 i586 unknown

Versions of the packages hwtools depends on:
libc6	Version: 2.0.7pre1-4

--- Begin /etc/rc.boot/hwtools (modified conffile)
irqtune 4 10
hdparm -q -m16 -q -u1 -q -S242 -q -k1 /dev/hda

--- End /etc/rc.boot/hwtools


Reply to: