Use to get hostname.
This commit is contained in:
parent
e4b60ece32
commit
f3f84d8d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is sourced by various scripts that need to send emails.
|
# This file is sourced by various scripts that need to send emails.
|
||||||
|
|
||||||
case "${HOSTNAME#*.}" in
|
case "$(hostname -d)" in
|
||||||
afterdark.lan)
|
afterdark.lan)
|
||||||
EMAIL_DOMAIN="afterdark.org.uk"
|
EMAIL_DOMAIN="afterdark.org.uk"
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue