Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194371

Re: How to shut down

From Siard <shiems146@kpnplanet.nl>
Newsgroups linux.debian.user
Subject Re: How to shut down
Date 2018-04-01 14:50 +0200
Message-ID <vzKAN-37P-7@gated-at.bofh.it> (permalink)
References <vxWZr-4MA-3@gated-at.bofh.it> <vy0gF-7dE-5@gated-at.bofh.it> <vzDSF-71r-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


solitone:
> Don Armstrong:
> > You can use either. `shutdown -h now` on a machine with systemd
> > actually invokes systemctl with the equivalent of systemctl poweroff
> 
> Yes, I've checked again and now 'systemctl poweroff' does power off
> the machine. No idea on what changed.

FYI:

By default, Ctrl-Alt-Del reboots the machine.
As has been pointed out once in this list (thanks to Michael Biebl),
you can have Ctrl-Alt-Del power off the machine by adding a link
/etc/systemd/system/ctrl-alt-del.target pointing to
/lib/systemd/system/poweroff.target.

# ln -s /lib/systemd/system/poweroff.target /etc/systemd/system/ctrl-alt-del.target

However: if you then keep Ctrl-Alt-Del pressed for a second, the
machine still reboots.
That way, you could use Ctrl-Alt-Del for both poweroff and reboot.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to shut down solitone <solitone@mail.com> - 2018-03-27 15:40 +0200
  Re: How to shut down Dan Purgert <dan@djph.net> - 2018-03-27 16:40 +0200
  Re: How to shut down Siard <shiems146@kpnplanet.nl> - 2018-03-27 18:20 +0200
    Re: How to shut down Curt <curty@free.fr> - 2018-03-27 18:50 +0200
      Re: How to shut down Felix Miata <mrmazda@earthlink.net> - 2018-03-27 19:30 +0200
  Re: How to shut down Don Armstrong <don@debian.org> - 2018-03-27 19:10 +0200
    Re: How to shut down solitone <solitone@mail.com> - 2018-04-01 07:40 +0200
      Re: How to shut down Siard <shiems146@kpnplanet.nl> - 2018-04-01 14:50 +0200

csiph-web