Date: Mon, 28 Jan 2002 17:50:02 -0800 (PST) From: Ian Dowse <iedowse@maths.tcd.ie> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/34392: rc.network patch to allow ifconfig aliases to change without renumbering them all Message-ID: <200201290150.g0T1o2301441@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/34392; it has been noted by GNATS. From: Ian Dowse <iedowse@maths.tcd.ie> To: The Lumpy One <lumpy@the.whole.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/34392: rc.network patch to allow ifconfig aliases to change without renumbering them all Date: Tue, 29 Jan 2002 01:40:59 +0000 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201290150.g0T1o2301441>