Subject: Re: can't help booting in single user
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Christopher SEKIYA <wileyc@rezrov.net>
List: port-sgimips
Date: 09/23/2001 00:52:50
On Sat, Sep 22, 2001 at 05:07:57PM +0200, Emmanuel Dreyfus wrote:
> I've an Indy box that always boots in single user mode. I have to type
> exit on the console to go to multi user. Is there a secret trick that
> causes it to do this?
Apply this diff to sgimips/machdep.c, and set OSLoadOptions=auto
Wayne, Rafal, Soren: could this change be committed? sgimips appears to be
stable enough ...
--- ../netbsd-current/sys/arch/sgimips/sgimips/machdep.c Thu Sep 20 00:55:20 2001
+++ sys/arch/sgimips/sgimips/machdep.c Sun Sep 23 00:49:46 2001
@@ -240,11 +240,9 @@
boothowto = RB_SINGLE;
for (i = 0; i < argc; i++) {
-#if 0
if (strcmp(argv[i], "OSLoadOptions=auto") == 0) {
boothowto &= ~RB_SINGLE;
}
-#endif
#if 0
printf("argv[%d]: %s\n", i, argv[i]);
/* delay(20000); */ /* give the user a little time.. */
-- Chris