Print this page
3788 /etc/bootrc is defunct and should be removed
fix _OBP comment in kobj_bootflags.c

*** 59,72 **** cp = kern_bootargs; #if defined(_OBP) /* ! * x86: The boot scripts (i.e., /etc/bootrc) don't prepend the kernel ! * name to the boot arguments. (And beware making it do so: if the ! * run-kernel command returns, it will loop, and you will end up with ! * multiple copies of the kernel name.) */ if (cp[0] != '-') { /* if user booted kadb or kmdb, load kmdb */ if (cp[0] == 'k' && (cp[1] == 'a' || cp[1] == 'm') && cp[2] == 'd' && cp[3] == 'b' && --- 59,69 ---- cp = kern_bootargs; #if defined(_OBP) /* ! * Sparc only, _OBP isn't defined on x86 any more. */ if (cp[0] != '-') { /* if user booted kadb or kmdb, load kmdb */ if (cp[0] == 'k' && (cp[1] == 'a' || cp[1] == 'm') && cp[2] == 'd' && cp[3] == 'b' &&
*** 103,113 **** #if defined(_OBP) case 'D': case 'F': break; case 'f': ! (void)prom_setprop(prom_optionsnode(), "diag-level", (char *)params.gos_optargp, params.gos_optarglen + 1); break; #endif case 'g': --- 100,110 ---- #if defined(_OBP) case 'D': case 'F': break; case 'f': ! (void) prom_setprop(prom_optionsnode(), "diag-level", (char *)params.gos_optargp, params.gos_optarglen + 1); break; #endif case 'g':