fix
This commit is contained in:
parent
e658d277a0
commit
343525511c
3
mint.sh
3
mint.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user