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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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