Date: Tue, 28 May 2002 17:38:23 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: current@FreeBSD.ORG Cc: David O'Brien <obrien@FreeBSD.ORG>, Andrew Gordon <arg-bsd@arg1.demon.co.uk>, Terry Lambert <tlambert2@mindspring.com>, Robert Watson <rwatson@FreeBSD.ORG>, Doug Barton <DougB@FreeBSD.org> Subject: diskless boot, take n+2 Message-ID: <E17Ci7E-0004ap-00@cse.cs.huji.ac.il>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17Ci7E-0004ap-00>
