test script added

This commit is contained in:
Fr4nz D13trich 2025-10-10 17:13:44 +02:00
parent a0f25306a2
commit 4af3ec7276
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
#!/bin/bash
sed -i.bak "s/DOMAIN/$HOSTNAME.local/g" nginx.conf
sudo sed -i.backup "s/$HOSTNAME/xXxXx/g" /etc/hosts
sudo sed -i.backup "s/$HOSTNAME/xXxXx/g" /etc/hostname
sudo systemctl reload NetworkManager
#sudo systemctl restart NetworkManager
echo "$hostname"