stable #2

Merged
alientim merged 89 commits from stable into dev 2024-11-15 10:37:11 +01:00
Showing only changes of commit 26058e12f7 - Show all commits

View File

@@ -20,6 +20,9 @@ update_hosts() {
hostname=$(get_hostname)
if [ -n "$hostname" ]; then
# Set the hostname using hostnamectl
sudo hostnamectl set-hostname "$hostname"
echo "Set hostname to: $hostname" >> $LOGFILE
update_hosts "$hostname"
else
echo "No hostname found." >> $LOGFILE