Switched to using systemd for reboots

;)
This commit is contained in:
Miles B Huff
2020-01-27 15:07:15 -05:00
committed by GitHub
parent d68cc353fa
commit 2e811867ad

View File

@@ -31,4 +31,4 @@ hostnamectl set-hostname $NEW_HOSTNAME
cp /etc/hosts /etc/hosts.$DATE
sed -i "s/test/$NEW_HOSTNAME/g" /etc/hosts
read -p "Press [enter] to restart this machine"
/sbin/shutdown -r now
systemctl reboot