Switched to using systemd for reboots
;)
This commit is contained in:
parent
d68cc353fa
commit
2e811867ad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user