From owner-acpi-jp@jp.FreeBSD.org Tue Dec 16 07:06:36 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id hBFM6am35558;
	Tue, 16 Dec 2003 07:06:36 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from arginine.spc.org (arginine.spc.org [195.206.69.236])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id hBFM6YM35531
	for <acpi-jp@jp.freebsd.org>; Tue, 16 Dec 2003 07:06:34 +0900 (JST)
	(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)
From: Bruce M Simpson <bms@spc.org>
To: Nate Lawson <nate@root.org>
Cc: arch@freebsd.org, acpi-jp@jp.FreeBSD.org
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>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Mon, 15 Dec 2003 22:06:27 +0000
X-Sequence: acpi-jp 2911
Subject: [acpi-jp 2911] Re: Power profile script
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: bms@spc.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031215

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
