Fix firstboot fs mount logic
authorfeld <feld@FreeBSD.org>
Tue, 6 Feb 2018 20:12:05 +0000 (20:12 +0000)
committerfeld <feld@FreeBSD.org>
Tue, 6 Feb 2018 20:12:05 +0000 (20:12 +0000)
commit04ae1b5f7241814b1dbf6b9c32620cb55fffefa8
treeae8267e9056c0266dae3b588e009fb18d8d22b3b
parentebae9ec497bff59eaf2058bb4b9deea8d6931f5d
Fix firstboot fs mount logic

The firstboot logic has an error which causes the filesystem to be
mounted readonly even though root_rw_mount=YES. This fixes the error to
ensure that the root filesystem is mounted rw as expected after the run
of the firstboot scripts.

Reviewed by: imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D14226
etc/rc