From owner-freebsd-questions Thu Sep 11 20:15:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA24389 for questions-outgoing; Thu, 11 Sep 1997 20:15:21 -0700 (PDT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA24384 for ; Thu, 11 Sep 1997 20:15:18 -0700 (PDT) Received: from sea.ntplx.net (khelbin@sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.8.7/NETPLEX) with SMTP id XAA15574 for ; Thu, 11 Sep 1997 23:15:04 -0400 (EDT) Date: Thu, 11 Sep 1997 23:14:57 -0400 (EDT) From: Khelbin Sunvold To: freebsd-questions@FreeBSD.ORG Subject: Re: SOLVED! (was: How do I fix the ethernet card I/O address (?)) In-Reply-To: <25758.874010970@monkeys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 11 Sep 1997, Ronald F. Guilmette wrote: > Is it a well-known problem that in the 2.2.2 release, the comments that > end up in the /etc/rc.conf file are all screwed up? I've manually edited > down a bunch of them so they look normal, but I guess that I really ought > to just sed them all to fix them all in one go. > It's in the errata list on www.freebsd.org but rather than manually editing it you can extract the important things like this: awk '$1 ~ "=" {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11}' /etc/rc.conf ..and redirect it to a file and then keep a backup of it until you fix the problem. I'm sure you could use sed to do this to but I don't know sed very well yet. :)