Re: [PATCH v4] reboot: allow to specify reboot mode via sysfs

2021-02-22 Thread Matteo Croce
On Mon, Feb 22, 2021 at 11:03 AM Pavel Machek wrote: > > On Tue 2020-11-10 21:27:46, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= option offers some sort of control > > on how the reboot is issued. > > Add handles in sysfs to allow setting these reboot options,

Re: [PATCH v4] reboot: allow to specify reboot mode via sysfs

2021-02-22 Thread Pavel Machek
On Tue 2020-11-10 21:27:46, Matteo Croce wrote: > From: Matteo Croce > > The kernel cmdline reboot= option offers some sort of control > on how the reboot is issued. > Add handles in sysfs to allow setting these reboot options, so they > can be changed when the system is booted, other than at

[PATCH v4] reboot: allow to specify reboot mode via sysfs

2020-11-10 Thread Matteo Croce
From: Matteo Croce The kernel cmdline reboot= option offers some sort of control on how the reboot is issued. Add handles in sysfs to allow setting these reboot options, so they can be changed when the system is booted, other than at boot time. The handlers are under /kernel/reboot, can be read