1 |
On Wed, 26 Jun 2019 11:20:20 +0100, Mick wrote: |
2 |
|
3 |
> I just looked at another installation. The default sddm configuration |
4 |
> file (/ usr/share/sddm/sddm.conf.d/00default.conf) shows this: |
5 |
> |
6 |
> [General] |
7 |
> # Halt command |
8 |
> HaltCommand=/usr/bin/loginctl poweroff |
9 |
> |
10 |
> In an OpenRC system there is no loginctl. Consequently, unless we |
11 |
> define a separate config in /etc/ to use shutdown (with sudo?) it won't |
12 |
> work. This systemd-ism may be worth a bug report. |
13 |
|
14 |
It won't work on systemd either, loginctl has no poweroff command, it |
15 |
should be systemctl poweroff, which is symlinked to /sbin/poweroff here |
16 |
so setting it to that should work for modern and ancient systems alike :P |
17 |
|
18 |
|
19 |
-- |
20 |
Neil Bothwick |
21 |
|
22 |
Nothing is foolproof to a sufficiently talented fool. |