ctrl-alt-del
Linux for blind general discussion
blinux-list at redhat.com
Thu Jan 18 15:33:48 UTC 2018
Can you replace poweroff with shutdown -h now? That ought to do it.
On Thu, 18 Jan 2018, Linux for blind general discussion wrote:
> Date: Thu, 18 Jan 2018 07:42:13
> From: Linux for blind general discussion <blinux-list at redhat.com>
> To: Linux for blind general discussion <blinux-list at redhat.com>
> Subject: ctrl-alt-del
>
> Hi, list!
>
> On my Rpi, running FedBerry | (Fedora Remix for Raspberry Pi 2/3), I
> want to use ctrl-alt-del to poweroff the device. It's too dangerous to
> do `sudo poweroff', in case I'm in another system through SSH...
>
> On my rpi, I did:
>
> ln -s /usr/lib/systemd/system/poweroff.target /etc/systemd/system/ctrl-alt-del.target
>
> `systemctl status ctrl-alt-del.target' outputs:
>
> ??? poweroff.target - Power-Off
> Loaded: loaded (/usr/lib/systemd/system/poweroff.target; enabled;
> vendor pres
> Active: inactive (dead)
> Docs: man:systemd.special(7)
>
> Even though, when I press ctrl-alt-del, the system reboots. If I, as
> root, gives `poweroff', the system shut down works as expected. How can
> this be solved?
>
> Thanks and regards, Lars
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
--
More information about the Blinux-list
mailing list