Package: hwtools
Version: 0.8-5
Severity: minor
Tags: patch

The attached patch makes the initscript follow the initscript
convention:

    Doing something that takes time...done.

It also makes it exit with the LSB-approved status (viz. 3) in case the
argument is not recognized.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages hwtools depends on:
ii  debconf                     1.4.32       Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- debconf information:
  hwtools/no-scsi:
--- hwtools_ORIG        2004-01-27 10:47:48.000000000 +0100
+++ hwtools     2005-02-11 16:12:37.000000000 +0100
@@ -26,7 +26,7 @@
   start|restart|force-reload|reload)
        echo -n "Optimizing hardware..."
        optimizehw
-       echo
+       echo "done."
        ;;
   stop)
        exit 0
@@ -34,7 +34,7 @@
   *)
        N=/etc/init.d/hwtools
        echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-       exit 1
+       exit 3
        ;;
 esac
 

Reply via email to