Package: file-rc
Version: 0.8.12
Severity: minor
Tags: patch
On runlevel change file-rc floods the terminal with lines like this:
prev: 3
prev: 3
It'd appear that this is a debug line that doesn't check for the $debug
variable.
I've attached a small patch to fix this.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.36 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB, lc_ctype=fi...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
diff -rupN file-rc-0.8.12.orig/rc file-rc-0.8.12/rc
--- file-rc-0.8.12.orig/rc 2010-10-28 19:41:58.652561005 +0300
+++ file-rc-0.8.12/rc 2010-10-28 19:43:15.018561003 +0300
@@ -272,7 +272,7 @@ do
if [ $STOP_NUM -eq $x$y ]
then
CMD=${script#*:}
- echo "prev: $prevlevel"
+ test $debug = 1 && echo "prev: $prevlevel"
if [ "$prevlevel" != "N" ]
then
case "$CMD" in