Utilize nextboot to control the behavior of the next firewall reboot
Now that we include nextboot, we can use it to control the properties of the next firewall boot sequence.
Two ideas come to mind:
1. An option to boot into single user mode (
nextboot -o "-s" -k kernel)
2. An option to force a filesystem check using a kernel environment variable rather than a flag file (e.g.
nextboot -e "pfsense.fsck.force=5", then check
Patch attached for testing which adds menu options to the console reboot choice. Should be easy to test once we get 2.4 snapshots going.