Brian wrote:
> /lib/systemd/system/ctrl-alt-del.target is linked to reboot.target in
> the same directory. It requires systemd-reboot.service which contains
> the line
> 
>    ExecStart=/bin/systemctl --force reboot
> 
> Changing 'reboot' to 'poweroff' will get you what you want.
> 
> However, this is the wrong thing to do (but is useful for testing the
> idea) because your changes will disappear at upgrade time [1], so you
> should think in terms of how your own file(s) in /etc/systemd could
> achieve the same objective.
>
> [1] The file could be diverted.

Well, relinking /lib/systemd/system/ctrl-alt-del.target to
poweroff.target appears to be doing the trick, and I guess that this
will remain unaffected.
Thanks for your contribution.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140214215645.f7ccca22.shiems...@kpnplanet.nl

Reply via email to