How to know the network name
Ralf Mardorf
kde.lists at yahoo.com
Sun Oct 24 08:15:45 UTC 2021
On Sun, 2021-10-24 at 18:24 +1100, Karl Auer wrote:
> On Sun, 2021-10-24 at 07:57 +0200, Ralf Mardorf via ubuntu-users wrote:
> > On Sun, 24 Oct 2021 10:28:32 +1100, Karl Auer wrote:
> > > echo "reboot" | at now + 10 minutes
> >
> > better run the shutdown command
>
> Why?
Hi,
my previous reply already answered that question.
"shutdown" has got a time and a wall argument and "If the time argument
is used, 5 minutes before the system goes down the /run/nologin file is
created to ensure that further logins shall not be allowed".
Why are you in favour of a "reboot | at" and probably "wall" script?
On Sun, 2021-10-24 at 18:24 +1100, Karl Auer wrote:
> And BTW that looks exactly the same on Centos8. Might be different on
> earlier versions, I suppose.
Neither do I know what init CentOS6/7 does use, but at least the link I
posted "CentOS/RHEL 6: Shutdown Command", mentions the "telinit
command", this obviously is a pointer to a PID 1 that is _not_ systemd.
Regards,
Ralf
--
Ralf's Linux multi-boot PC
https://i.imgur.com/Hvc088P.jpg
Ralf's iPad 2 and iPad Pro
https://i.imgur.com/vNeUrKf.jpg
More information about the ubuntu-users
mailing list