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

Bug#188282: Incorrect path in "configure me" message

Package: upsd
Version: 2.5-3
Severity: minor
Tags: patch

The "configure me" message in /etc/init.d/upsd incorrectly reports its path:

	/etc/init.d/ups: Port not configured!

The following patch changes the message to:

	/etc/init.d/upsd: Port not configured!

diff -r -u upsd-2.5/debian/init.d upsd-2.5-initdfix/debian/init.d
--- upsd-2.5/debian/init.d	2003-04-08 18:23:10.000000000 -0700
+++ upsd-2.5-initdfix/debian/init.d	2003-04-08 18:21:10.000000000 -0700
@@ -9,7 +9,7 @@
 # Uncomment and modify the following line to point to the ups serial device.
 # Then comment out this line
-echo "/etc/init.d/ups: Port not configured!";exit 0
+echo "$0: Port not configured!";exit 0

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux io 2.4.19-k7 #1 Tue Nov 19 03:01:13 EST 2002 i686

Versions of packages upsd depends on:
ii  libc6                         2.3.1-16   GNU C Library: Shared libraries an

Reply to: