View previous topic :: View next topic |
Author |
Message |
iamshapeless n00b
Joined: 29 May 2017 Posts: 4
|
Posted: Mon Feb 12, 2018 5:57 am Post subject: [SOLVED] openrc-shutdown doesn't seem to do anything |
|
|
When I run:
Code: | sudo openrc-shutdown -p |
nothing happens. No error message shows in the terminal and my computer stays on.
I tried adding verbose to see if it would at least show an error of some sort:
Code: | sudo openrc-shutdown -pv |
but still, nothing happens.
I'm new to gentoo and openrc, so I apologize if I'm missing something obvious.
Last edited by iamshapeless on Mon Feb 12, 2018 1:57 pm; edited 1 time in total |
|
Back to top |
|
|
steve_v Guru
Joined: 20 Jun 2004 Posts: 388 Location: New Zealand
|
Posted: Mon Feb 12, 2018 7:10 am Post subject: |
|
|
AFAIK, those are only used when using openrc to replace /sbin/init, which is not the default configuration.
Unless you are passing init=/sbin/openrc-init on the kernel command line, the traditional sysv 'shutdown' command is what you want.
See https://wiki.gentoo.org/wiki/OpenRC |
|
Back to top |
|
|
iamshapeless n00b
Joined: 29 May 2017 Posts: 4
|
Posted: Mon Feb 12, 2018 1:57 pm Post subject: |
|
|
On systemd distros I was under the impression that it's "better" to use systemctl to reboot, so I saw something that looked like it did the same thing but for OpenRC and assumed I should use that. Thanks for clearing that up! |
|
Back to top |
|
|
|