From owner-freebsd-arch@FreeBSD.ORG Mon Dec 15 14:06:33 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CD0816A4CE for ; Mon, 15 Dec 2003 14:06:33 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE3243D1F for ; Mon, 15 Dec 2003 14:06:31 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 26D0E6530E; Mon, 15 Dec 2003 22:06:30 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32424-02-12; Mon, 15 Dec 2003 22:06:29 +0000 (GMT) Received: from saboteur.dek.spc.org (unknown [82.147.19.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 4B4A065439; Mon, 15 Dec 2003 22:06:28 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 5B2C4BE; Mon, 15 Dec 2003 22:06:27 +0000 (GMT) Date: Mon, 15 Dec 2003 22:06:27 +0000 From: Bruce M Simpson To: Nate Lawson Message-ID: <20031215220627.GB16497@saboteur.dek.spc.org> References: <20031213130351.N59162@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031213130351.N59162@root.org> cc: arch@freebsd.org cc: acpi-jp@jp.freebsd.org Subject: Re: Power profile script X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 22:06:33 -0000 On Sat, Dec 13, 2003 at 01:12:03PM -0800, Nate Lawson wrote: > I'm mostly looking for style input on the /etc/power_profile script since > I'm not familiar with our scripting guidelines. Note that it's called > from devd (or manually by the user) and is not an rc.d boot-time thing. One of the things green suggested to me when I was airing out the new trafd.sh rcNG script was the use of $(...) instead of the backtick operator -- apparently this has slightly different semantics but it does save on forking overhead. BMS