From owner-freebsd-questions Tue Jul 18 13: 2:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from state.net (dorthy.state.net [204.75.238.244]) by hub.freebsd.org (Postfix) with ESMTP id CE51637B953 for ; Tue, 18 Jul 2000 13:02:33 -0700 (PDT) (envelope-from jon@state.net) Received: from state.net (redoak.state.net [204.75.238.247]) by state.net (8.8.8/8.7.2) with ESMTP id PAA07540 for ; Tue, 18 Jul 2000 15:03:54 -0500 (CDT) Message-ID: <3974B7C7.D60B89F8@state.net> Date: Tue, 18 Jul 2000 15:02:15 -0500 From: Jon X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Single User mode / Automating 'make world' and kernel config. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello All, Is there anyway to invoke shutdown(8), set some kind of flag somewhere, send something to init(8), or make an entry in /etc/rc.shutdown that could take a system running multi-user down to single user & have it so the console doesn't need a prompt for root's shell (the console is setup as secure, so no password), and default to /bin/sh, which is the multi-user root shell. My grandiose plan is to automate a 'make world' and a kernel rebuild on my home machines. This isn't for a production, and I understand that such a delicate operation should have the sysadmin right at the console, but I'm lazy :) Have anyone else tried this out? TIA, Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message