While `sudo shutdown -h now` works (by virtue of support in systemd), the actual shutdown command is:
To reboot, just change poweroff to reboot. On Pi models that use systemd, shutdown is nothing but a symlink to systemctl, e.g.
Use whichever you like, but you may as well come kicking-and-screaming into the systemd world -- it's here to stay...
Code:
sudo systemctl poweroff
Code:
$ ls -al /usr/sbin/shutdownlrwxrwxrwx 1 root root 14 Jun 18 2023 /usr/sbin/shutdown -> /bin/systemctl
Statistics: Posted by drankinatty — Wed May 29, 2024 11:58 pm