Bug 13106

Summary: reboot command does support flags
Product: Busybox Reporter: Peter Geis <pgwipeout>
Component: OtherAssignee: unassigned
Status: NEW ---    
Severity: normal CC: busybox-cvs, pgwipeout
Priority: P5    
Version: 1.31.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:
Attachments: .config

Description Peter Geis 2020-07-22 02:13:07 UTC
Created attachment 8551 [details]
.config

Many embedded devices support reboot flags to control the result of the reboot sequence.
Examples include android's reboot bootloader and reboot recovery.
Both android and mainline linux enable these flags, and systemd reboot supports them.
Unfortunately busybox reboot does not pass the flag to the kernel for handling.

Tested against 1.31.1 built in buildroot-2020.05.