From Jos.Backus@nl.origin-it.com  Tue Jul 21 08:19:55 1998
Received: from gw-nl1.philips.com (gw-nl1.philips.com [192.68.44.33])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09774
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jul 1998 08:19:52 -0700 (PDT)
          (envelope-from Jos.Backus@nl.origin-it.com)
Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1])
          by gw-nl1.philips.com with ESMTP id RAA12404
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jul 1998 17:19:31 +0200 (MEST)
          (envelope-from Jos.Backus@nl.origin-it.com)
Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) 
	by smtprelay-nl1.philips.com (8.8.5/8.6.10-1.2.2m-970826) with SMTP id RAA05998
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Jul 1998 17:19:31 +0200 (MET DST)
Received: (qmail 12957 invoked by uid 666); 21 Jul 1998 15:17:20 -0000
Message-Id: <19980721151720.12956.qmail@hal.mpn.cp.philips.com>
Date: 21 Jul 1998 15:17:20 -0000
From: Jos.Backus@nl.origin-it.com
Reply-To: Jos.backus@nl.origin-it.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: rc.i386 outputs unnecessary text at screen saver check time
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 21 08:20:01 PDT 1998
>Closed-Date:    Tue Jul 21 22:39:06 PDT 1998
>Last-Modified:  Tue Jul 21 22:39:30 PDT 1998
>Originator:     Jos Backus
>Release:        FreeBSD -stable and -current i386
>Organization:
Origin B.V., The Netherlands
>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
  
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Tue Jul 21 22:39:06 PDT 1998 
State-Changed-Why:  
committed, thanks 
>Unformatted:
