reboot - fix Void Linux (#70704)
Add entry for appropriate commands for Void Linux
This commit is contained in:
3
changelogs/fragments/70704-void-linux-reboot.yml
Normal file
3
changelogs/fragments/70704-void-linux-reboot.yml
Normal file
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- reboot - Add support for the runit init system, used on Void Linux, that
|
||||
does not support the normal Linux syntax.
|
||||
@ -67,6 +67,7 @@ class ActionModule(ActionBase):
|
||||
|
||||
SHUTDOWN_COMMAND_ARGS = {
|
||||
'alpine': '',
|
||||
'void': '-r +{delay_min} "{message}"',
|
||||
'freebsd': '-r +{delay_sec}s "{message}"',
|
||||
'linux': DEFAULT_SHUTDOWN_COMMAND_ARGS,
|
||||
'macosx': '-r +{delay_min} "{message}"',
|
||||
|
||||
Reference in New Issue
Block a user