-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixed a typo in power_menu.xml and reformat example #3723
base: master
Are you sure you want to change the base?
Conversation
Unified `shutdown` and `reboot` commands to use the modern systemd approach, replacing legacy SysVinit-style commands. This aligns the entire menu with the standard for contemporary distributions, enhancing consistency. Formatted indentation in `power_menu.xml` for readability, converting mixed spaces and tabs to 2-space indentation for better display on small screens. Fixed a typo in `power_menu.xml` by correcting `id="hibernat"` to `id="hibernate"`.
Not sure systemctl is a standard. It depends on login manager in chain with init manager. For example for non systemd init system like elogind - standard command starts with loginctl. See elogind |
I’m not here to argue about the spread or popularity of systemd. At the very least, I believe those users who manage their systems without systemd can do more than just copy-paste code from a guide — they can adapt it. Either way, my task was to unify the guide. As I mentioned above the goal is to enhancing consistency — half of the examples used systemd, while the other half were in a SysVinit style. |
Doesn't existing solution work in systemd? At least out of the box is working well in elogind. |
Alright, that sounds reasonable. Your arguments convinced me - I reverted those changes. |
Unifiedshutdown
andreboot
commands to use the modern systemd approach, replacing legacy SysVinit-style commands. This aligns the entire menu with the standard for contemporary distributions, enhancing consistency.Formatted indentation in
power_menu.xml
for readability, converting mixed spaces and tabs to 2-space indentation for better display on small screens.Fixed a typo in
power_menu.xml
by correctingid="hibernat"
toid="hibernate"
.