split out config file reading

+ improve ip and no 'network' on display
This commit is contained in:
2024-03-06 11:48:41 +01:00
parent c3a36879cb
commit ddedf67bf3
6 changed files with 152 additions and 77 deletions

View File

@@ -13,3 +13,4 @@ else
echo "hostname $HOSTNAME"
fi
echo $HOSTNAME > /etc/hostname
echo "127.0.0.1 localhost $HOSTNAME" > /etc/hosts