Date: Sun, 8 Feb 2009 00:01:32 +0300 From: "Victor M. Blood" <freebsd@masm.elcom.ru> To: All <freebsd-current@freebsd.org> Subject: boot2.c need change or not. Message-ID: <1572322913.20090208000132@masm.elcom.ru>
next in thread | raw e-mail | index | archive | help
Hi, All.
for my configuration with ntld realy need change of boot2.c file, may
be we can add option `BOOT_CONFIG_LINE' to kernel build instead of use
/boot.config ?
/* Process configuration file */
autoboot = 1;
#if (defined(BOOT_CONFIG_LINE))
memcpy(cmd, BOOT_CONFIG_LINE, sizeof(BOOT_CONFIG_LINE));
#else
if ((ino = lookup(PATH_CONFIG)))
fsread(ino, cmd, sizeof(cmd));
#endif
--
With all regards, Victor M. Blood. mailto: freebsd@masm.elcom.ru
FTN: 2:5024/1.95@Fidonet.org, ICQ#3567656
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1572322913.20090208000132>
