Re: ctrl-alt-del

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
To: Linux for blind general discussion <blinux-list@xxxxxxxxxx>
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

--

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]