mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-13 18:44:29 +05:00
fix: formatting
This commit is contained in:
@@ -178,7 +178,7 @@ set_hostname(){
|
|||||||
sudo hostnamectl set-hostname "$NEW_HOSTNAME"
|
sudo hostnamectl set-hostname "$NEW_HOSTNAME"
|
||||||
#write new hostname to /etc/hosts
|
#write new hostname to /etc/hosts
|
||||||
status_msg "Writing new hostname to /etc/hosts ..."
|
status_msg "Writing new hostname to /etc/hosts ..."
|
||||||
echo "127.0.0.1 $NEW_HOSTNAME" | sudo tee -a /etc/hosts &>/dev/null
|
echo "127.0.0.1 $NEW_HOSTNAME" | sudo tee -a /etc/hosts &>/dev/null
|
||||||
ok_msg "New hostname successfully configured!"
|
ok_msg "New hostname successfully configured!"
|
||||||
ok_msg "Remember to reboot for the changes to take effect!"
|
ok_msg "Remember to reboot for the changes to take effect!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user