mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Make RB_CDROM work. This should probably check for a disc in cd1 and acd1
as well.
This commit is contained in:
parent
08e4ac8ad6
commit
083cfea1ee
1 changed files with 2 additions and 2 deletions
|
|
@ -831,9 +831,9 @@ vfs_mountroot_conf0(struct sbuf *sb)
|
|||
sbuf_printf(sb, "%s\n", ROOTDEVNAME);
|
||||
#endif
|
||||
if (boothowto & RB_CDROM) {
|
||||
sbuf_printf(sb, "cd9660:cd0\n");
|
||||
sbuf_printf(sb, "cd9660:/dev/cd0 ro\n");
|
||||
sbuf_printf(sb, ".timeout 0\n");
|
||||
sbuf_printf(sb, "cd9660:acd0\n");
|
||||
sbuf_printf(sb, "cd9660:/dev/acd0 ro\n");
|
||||
sbuf_printf(sb, ".timeout %d\n", root_mount_timeout);
|
||||
}
|
||||
s = getenv("vfs.root.mountfrom");
|
||||
|
|
|
|||
Loading…
Reference in a new issue