Resolve merge conflict with systemctl reboot

This commit is contained in:
Kris Lamoureux 2020-01-27 23:08:55 -05:00
commit df4c0ae37f
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -63,5 +63,5 @@ if [ ! -z "$NEW_HOSTNAME" ]; then
cp /etc/hosts /etc/hosts.$DATE
sed -i "s/$CUR_HOSTNAME/$NEW_HOSTNAME/g" /etc/hosts
read -p "Press [enter] to restart this machine"
/sbin/shutdown -r now
systemctl reboot
fi