This commit is contained in:
olli 2024-07-21 14:38:06 +02:00
parent e658d277a0
commit 343525511c

View File

@ -1,4 +1,4 @@
#!/bin/bash -e #!/bin/bash
mydomain="ds9.dedyn.io" mydomain="ds9.dedyn.io"
@ -32,6 +32,7 @@ fi
defaultuser=$(getent passwd 1000 | cut -d: -f1) defaultuser=$(getent passwd 1000 | cut -d: -f1)
defaultuserhome=$(getent passwd 1000 | cut -d: -f6) defaultuserhome=$(getent passwd 1000 | cut -d: -f6)
# hostname # hostname
if hostname | grep -q "^${defaultuser}-" if hostname | grep -q "^${defaultuser}-"
then then