From owner-freebsd-hackers Mon Sep 13 5:49:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (Postfix) with ESMTP id AA42114C9D; Mon, 13 Sep 1999 05:49:22 -0700 (PDT) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.3/8.9.1) with ESMTP id IAA31697; Mon, 13 Sep 1999 08:49:21 -0400 (EDT) (envelope-from louie@whizzo.transsys.com) Message-Id: <199909131249.IAA31697@whizzo.transsys.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Mike Pritchard Cc: Doug@gorean.org (Doug), freebsd@gndrsh.dnsmgr.net (Rodney W. Grimes), des@flood.ping.uio.no (Dag-Erling Smorgrav), hackers@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: How to prevent motd including os info References: <199909131101.GAA03636@mpp.pro-ns.net> In-reply-to: Your message of "Mon, 13 Sep 1999 06:01:11 CDT." <199909131101.GAA03636@mpp.pro-ns.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 13 Sep 1999 08:49:21 -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [I'm catching up on a bunch of FreeBSD mail since being out on vacation, so perhaps I've missed the essence of this thread..] I've also had the desire to capture the output produced when /etc/rc is run for all the reasons mentioned. I always thought that perhaps init would simply capture stdout on the other end of a pipe, and logically do the "tee" thing with it. In fact, couldn't init logically exec a sh /etc/rc | tee /tmp/rc-output when invoking /etc/rc? (Where to put the output would seem to be one of the more difficult choices since you don't start with a writable file system mounted anywhere..) Or perhaps init could capture the output on the end of a pipe and subsequently syslog it while it's echoing it to /dev/console. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message