From owner-freebsd-ports Wed Apr 12 6:20: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A43437B626 for ; Wed, 12 Apr 2000 06:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA63870; Wed, 12 Apr 2000 06:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 4731D37B62A for ; Wed, 12 Apr 2000 06:18:12 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id MAA01485; Wed, 12 Apr 2000 12:10:14 +0100 (BST) (envelope-from nik) Message-Id: <200004121110.MAA01485@nothing-going-on.demon.co.uk> Date: Wed, 12 Apr 2000 12:10:14 +0100 (BST) From: nik@freebsd.org Reply-To: nik@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17949: upsmon.sh is too chatty on startup Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17949 >Category: ports >Synopsis: upsmon.sh is too chatty on startup >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 12 06:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Nik Clayton >Release: FreeBSD 3.4-STABLE i386 >Organization: N/A >Environment: Ports tree, supped a few hours ago. >Description: The upsmon.sh installed by the sysutils/upsmon port is too chatty at startup. Specifically, upsmond prints some output about it's configuration, which disturbs the nice, regular output at system startup. >How-To-Repeat: # sh /usr/local/etc/rc.d/upsmon.sh PortName set to: /dev/cuaa0 upsmond# Ideally, only the " upsmond" should print. >Fix: Apply this patch to files/upsmond.sh --- upsmon.sh.old Wed Apr 12 12:03:45 2000 +++ upsmon.sh Wed Apr 12 12:04:10 2000 @@ -3,5 +3,5 @@ # see !!PREFIX!!/share/doc/upsmon/INSTALL for command line option details if [ -x !!PREFIX!!/sbin/upsmond ]; then - !!PREFIX!!/sbin/upsmond -p /dev/cuaa0 && echo -n ' upsmond' + !!PREFIX!!/sbin/upsmond -p /dev/cuaa0 2>&1 > /dev/null && echo -n ' upsmond' fi If no one complains, I'll commit it myself (post ports freeze) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message