Date: 22 Mar 2003 06:52:50 -0600 From: Ben Burke <ben@dubuque365.com> To: freebsd-hackers@freebsd.org Subject: OID problem with Init? Message-ID: <1048337570.86508.45.camel@watchtower.office.parksmediagroup.com>
next in thread | raw e-mail | index | archive | help
Hello Everyone, I was looking for a good way to run "make installworld" in single-user mode on a machine which I don't have any kind of remote hands or serial-console access to. The first thought that came to my head was to temporarily put the commands at the end of rc.shutdown. I'm not sure if the machine is still multi-user at that point. Anyway it worked, but on such a slow machine it didn't complete before init timed out the shutdown script. So I looked at init... On line 1576 (spacing changed, comment added for email): if ( sysctlbyname("kern.shutdown_timeout", &shutdowntimeout, &len, NULL, 0) == -1 || shutdowntimeout < 2 ) shutdowntimeout = DEATH_SCRIPT; /* DEATH_SCRIPT = 120 */ I know that there was a "kern.shutdown_timeout" in FBSD 3, but there doesn't seem to be one now in FBSD 4.8-RC (from yesterday). So my questions are: 1. Does init check for this seemingly retired OID on purpose? 2. What's "The Right Way" or even "A Right Way" to do an installworld on a remote machine? Thanks in advance! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048337570.86508.45.camel>