Bug 16057 - Init: Distinction between reboot and shutdown not possible
Summary: Init: Distinction between reboot and shutdown not possible
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 05:12 UTC by Franz Fischer
Modified: 2024-05-02 05:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Fischer 2024-05-02 05:12:24 UTC
I use the Argonone v2 housing on the Raspberry Pi 4 with Alpine Linux. It is necessary to send a signal to the housing before the shutdown is completed so that it switches off the power supply with a time delay. This signal must not be sent during a reboot. With Gentoo Linux, in the event of a reboot, the environment variable RC_Reboot is set to yes. Could this also be implemented in the busybox please?
Alternatively, you could implement a separate action reboot in the inittab