From owner-freebsd-bugs Tue Jul 21 08:20:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA09931 for freebsd-bugs-outgoing; Tue, 21 Jul 1998 08:20:27 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09923 for ; Tue, 21 Jul 1998 08:20:26 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA07144; Tue, 21 Jul 1998 08:20:01 -0700 (PDT) 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 ; 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 ; 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 ; 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 X-Send-Pr-Version: 3.2 Subject: i386/7351: rc.i386 outputs unnecessary text at screen saver check time Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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