X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=blobdiff_plain;f=scripts%2Fsystem%2Fadd_domain.sh;h=dfce536012e91917b434a1ee041a5b3622e13080;hp=711bca44099cef2f1b87db9129eda97ebe639c13;hb=ec0607714e0846cbf25687be2c915eb28b521f4c;hpb=409ea4b67304c6b62694b1ddba50662f77af3f3d diff --git a/scripts/system/add_domain.sh b/scripts/system/add_domain.sh index 711bca44..dfce5360 100644 --- a/scripts/system/add_domain.sh +++ b/scripts/system/add_domain.sh @@ -26,7 +26,7 @@ if [ -z "$IP_ADDRESS" ]; then fi if [ -z "$SERVER_ADMIN" ]; then # the email address (where first dot is replaced by @) for the administrator of the domain. - SERVER_ADMIN="$(logname).localhost" + SERVER_ADMIN="$(fm_username).localhost" echo "** defaulting server admin to $SERVER_ADMIN" fi if [ -z "$MAIN_NAME_SERVER" ]; then