mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove more LFS left-overs
This commit is contained in:
parent
751e9ca706
commit
2af4594564
1 changed files with 1 additions and 19 deletions
|
|
@ -34,7 +34,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91
|
||||
* $Id: autoconf.c,v 1.82 1997/11/21 18:27:08 bde Exp $
|
||||
* $Id: mountroot.c,v 1.1 1998/04/19 23:31:35 julian Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -332,24 +332,6 @@ cpu_rootconf()
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef LFS
|
||||
if (!mountrootfsname) {
|
||||
if (bootverbose)
|
||||
printf("Considering LFS root f/s.\n");
|
||||
mountrootfsname = "lfs";
|
||||
/*
|
||||
* Ignore the -a flag if this kernel isn't compiled
|
||||
* with a generic root/swap configuration: if we skip
|
||||
* setroot() and we aren't a generic kernel, chaos
|
||||
* will ensue because setconf() will be a no-op.
|
||||
* (rootdev is always initialized to NODEV in a
|
||||
* generic configuration, so we test for that.)
|
||||
*/
|
||||
if ((boothowto & RB_ASKNAME) == 0 || rootdev != NODEV)
|
||||
setroot();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!mountrootfsname) {
|
||||
panic("Nobody wants to mount my root for me");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue