From owner-freebsd-bugs Mon Jan 28 18:10: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 56B6737B402 for ; Mon, 28 Jan 2002 18:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0T2A1m08047; Mon, 28 Jan 2002 18:10:01 -0800 (PST) (envelope-from gnats) Date: Mon, 28 Jan 2002 18:10:01 -0800 (PST) Message-Id: <200201290210.g0T2A1m08047@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: lumpy Subject: Re: conf/34392: rc.network patch to allow ifconfig aliases to change without renumbering them all Reply-To: lumpy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/34392; it has been noted by GNATS. From: lumpy To: Ian Dowse Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/34392: rc.network patch to allow ifconfig aliases to change without renumbering them all Date: Mon, 28 Jan 2002 21:01:12 -0500 (EST) Very cool -- hope it gets in soon :) On Tue, 29 Jan 2002, Ian Dowse wrote: > In message <200201282353.g0SNrKC07661@the.whole.net>, The Lumpy One writes: > > > > The manpage for rc.conf describes this functionality and the > > script chunk replaced by this patch will clearly function this > > way. > > >> for alias in `set|awk -F= '(/^ifconfig_'${ifn}'_alias/){print $ > > This can't be used, becaues awk is in /usr/bin, and /usr may not > be available at this time (e.g. on diskless systems with an NFS > /usr). > > But see conf/21695: > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=21695 > > It describes exactly the same problem, and I proposed a version of > your idea that avoids the use of awk by using sh builtins only. > > Ian > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message