Date: Mon, 27 Sep 2004 13:44:32 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: John Hay <jhay@icomtek.csir.co.za> Cc: freebsd-current@freebsd.org Subject: Re: rcorder /etc/rc.d and initdiskless Message-ID: <20040927204432.GF1016@odin.ac.hmc.edu> In-Reply-To: <20040927203148.GA19531@zibbi.icomtek.csir.co.za> References: <20040927203148.GA19531@zibbi.icomtek.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
--/aVve/J9H4Wl5yVO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 27, 2004 at 10:31:48PM +0200, John Hay wrote: > Hi, >=20 > At the moment on a diskless machine /etc/rc determines the order of > /etc/rc.d/* before /etc/rc.d/initdiskless is run, so you can't use > initdiskless to add files to /etc/rc.d/ when it populates /etc and > expect them to be used during startup. >=20 > I have a few diskless machines and thought of adding specific > startup scripts to specific machines in their /conf/<ip>/etc/rc.d/ > directories. :-) It does get put in their /etc/rc.d/ directories, > but it isn't excecuted at starup. >=20 > Have anybody got a workaround for this? I do, but I haven't found time to finish it up and get the required changes to rcorder pushed through NetBSD. My basic plan was to mark some scripts (preseedrandom and initdiskless) with an "early" keyboard and run them manually before running all scripts without the early keyword. I've added an item to my todo list to get the rcorder changes done and tested. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --/aVve/J9H4Wl5yVO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBWHuwXY6L6fI4GtQRAmRDAJ4iZStaiwyK8kuKBOUfFSDorvnOYACePDhv VCcRLqDFUg6Xg6dzAH6TXUI= =NBRP -----END PGP SIGNATURE----- --/aVve/J9H4Wl5yVO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040927204432.GF1016>