Project

General

Profile

Actions

Feature #6639

closed

Utilize nextboot to control the behavior of the next firewall reboot

Added by Jim Pingle almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Console Menu
Target version:
Start date:
07/25/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

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 kenv pfsense.fsck.force)

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.


Files

Actions

Also available in: Atom PDF