don't use hostnamectl for compatibility
parent
21868df06b
commit
49fd2bcfa6
|
@ -90,7 +90,7 @@ BASH_SHELL_ANY_NETWORK=$parent/any/network
|
|||
export BASH_SHELL_DIRS
|
||||
|
||||
# machine specific shell
|
||||
BASH_SHELL_HOST="$parent/$(hostnamectl hostname)"
|
||||
BASH_SHELL_HOST="$parent/$(cat /etc/host)"
|
||||
# BASH_SHELL_HOST=<some directory>
|
||||
# if there is a host directory add it to list and export env var
|
||||
# [[ -d $BASH_SHELL_HOST ]] && BASH_SHELL_DIRS+="$BASH_SHELL_HOST " && export BASH_SHELL_HOST
|
||||
|
|
Loading…
Reference in New Issue