Project

General

Profile

Feature #6639

Utilize nextboot to control the behavior of the next firewall reboot

Added by Jim Pingle over 1 year ago. Updated about 1 year ago.

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

100%


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.

nextboot-menu-options-2.4.diff Magnifier (2.18 KB) Jim Pingle, 07/25/2016 01:34 PM

nextboot-menu-options-2.3.diff Magnifier (2.15 KB) Jim Pingle, 07/25/2016 01:34 PM

Associated revisions

Revision 92a78939
Added by Jim Pingle about 1 year ago

Add options to console menu reboot selection to reboot into single user mode and to reboot and force a filesystem check. Implements #6639

History

#1 Updated by Jim Pingle about 1 year ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle about 1 year ago

  • Status changed from Feedback to Resolved

Tested on a few systems, works fine.

Also available in: Atom PDF