loader/menu: Fix 'vfs.root.real_root' to be 'vfs.root.realroot'
authorAaron LI <aly@aaronly.me>
Sun, 1 Apr 2018 06:28:45 +0000 (14:28 +0800)
committerAaron LI <aly@aaronly.me>
Sun, 1 Apr 2018 06:28:45 +0000 (14:28 +0800)
commit7af2527ede6f072a1caaa2af37703e026d7e1e38
tree97e0a67bed1d34187d5fe0f6309d1d183e70cdfd
parent110def69fe17ffd0a8d90b5759fb62d7dd19823f
loader/menu: Fix 'vfs.root.real_root' to be 'vfs.root.realroot'

This should be the same variable as used in /boot/loader.conf to specify
the real root partition.  See loader(8) and mkinitrd(8) for more info.

The intent here by unsetting it for the *rescue boot mode* is to prevent
the real root been mounted, and hence the system will stay in the md0
rescue root.

Verified-by: Matt Dillon
sys/boot/dloader/dloader.menu