From owner-freebsd-current Tue May 28 7:39:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from cse.cs.huji.ac.il (cse.cs.huji.ac.il [132.65.16.30]) by hub.freebsd.org (Postfix) with ESMTP id 858ED37B414; Tue, 28 May 2002 07:38:26 -0700 (PDT) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cse.cs.huji.ac.il with esmtp id 17Ci7E-0004ap-00; Tue, 28 May 2002 17:38:24 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@FreeBSD.ORG Cc: David O'Brien , Andrew Gordon , Terry Lambert , Robert Watson , Doug Barton Subject: diskless boot, take n+2 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 May 2002 17:38:23 +0300 From: Danny Braniss Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG comments please new changes i made to libstand/bootp.c: now, apart from placing all the dhcp stuff in the kenv, if the tag rc-conf is set i.e: option FBSD.rc-conf "132.65.16.100:/c/conf/rc.conf.foo"; it will read the file and place the "name=value" in the kenv as rc.conf.name="value" it will also try rc-conf[1-9]. in rc.diskless1 this could be done: ... case `kenv rc.conf.root_rw_mount` in [Nn][Oo]) mfs_etc case `kenv rc.conf.populate_etc` in [Yy][Ee][Ss]) populate_etc ;; esac ;; esac the stuff is available from: ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/ danny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message