Skip site navigation (1)Skip section navigation (2)
Date:      21 Jul 1998 15:17:20 -0000
From:      Jos.Backus@nl.origin-it.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/7351: rc.i386 outputs unnecessary text at screen saver check time
Message-ID:  <19980721151720.12956.qmail@hal.mpn.cp.philips.com>

next in thread | raw e-mail | index | archive | help

>Number:         7351
>Category:       i386
>Synopsis:       rc.i386 outputs unnecessary text at screen saver check time
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 21 08:20:01 PDT 1998
>Last-Modified:
>Originator:     Jos Backus
>Organization:
Origin B.V., The Netherlands
>Release:        FreeBSD -stable and -current i386
>Environment:


>Description:

	modstat | grep _saver is used to determine if a screensaver is loaded
	already. The modstat output goes to the screen.

>How-To-Repeat:

	Boot a -stable or -current system with a screensaver defined in rc.conf 
and watch the console.

>Fix:
	
	Tell grep to be quiet:

	--- rc.i386.orig        Tue Jul 21 17:05:18 1998
	+++ rc.i386     Tue Jul 21 17:07:44 1998
	@@ -94,7 +94,7 @@
 	# screen saver
 	if [ "X${saver}" != X"NO" ] ; then
        	echo -n ' screensaver'
	-       modstat | grep _saver || \
	+       modstat | grep -q _saver || \
                	modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o
 fi
  
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980721151720.12956.qmail>