>
> Change that symlink to point to poweroff.target:
>
> # ln -s
/lib/systemd/system/poweroff.target/etc/systemd/system/ctrl-alt-del.target
That worked fine to change ctrl-alt-del to 'poweroff' butis it possible
to return to the old 'cold reboot' behavior? I like to go right back to
the bootl
On Fri 14 Feb 2014 at 21:56:45 +0100, Siard wrote:
> 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.
Thank you for taking the time to respond. Unfortunately
> Both of these methods appear to be working:
> - relinking /lib/systemd/system/ctrl-alt-del.target to poweroff.target;
> - creating /etc/systemd/system/ctrl-alt-del.target and linking _that_
> to /lib/systemd/system/poweroff.target.
Please do the latter as I suggested.
Doing the former means yo
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
William Unruh wrote off-list:
> I cannot post to the news list.
OK, let me direct it to the list then.
> It is really annoying that they have decided to make ACD reboot rather
> than halt by default (really horrible for a laptop)
> But according to my Mageia,
> Ctrl-Alt-Delete is handled by /et
Michael Biebl wrote:
> The current behaviour is defined by the ctrl-alt-del.target. See
> # ls -ls /lib/systemd/system/ctrl-alt-del.target
> /lib/systemd/system/ctrl-alt-del.target -> reboot.target
>
>
> Change that symlink to point to poweroff.target:
>
> # ln -s /lib/systemd/system/poweroff.ta
On Fri 14 Feb 2014 at 18:23:14 +0100, Siard wrote:
> Using the console, I used to switch off my PC with Ctrl-Alt-Del.
> For that to work, I had these lines in /etc/inittab:
>
> # What to do when CTRL-ALT-DEL is pressed.
> ca:12345:ctrlaltdel:/sbin/poweroff
systemd doesn't use inittab (it's a sys
>
> # What to do when CTRL-ALT-DEL is pressed.
> ca:12345:ctrlaltdel:/sbin/poweroff
>
> It was the easiest way to switch off the machine that I knew of.
> Now is there something similar with systemd?
> Ctrl-Alt-Del appears to reboot the machine now.
The current behaviour is defined by the ctrl-
Using the console, I used to switch off my PC with Ctrl-Alt-Del.
For that to work, I had these lines in /etc/inittab:
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/poweroff
It was the easiest way to switch off the machine that I knew of.
Now is there something similar with
9 matches
Mail list logo