X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=primary-setup;h=1a6ce0e05158124c1078040fdf24b1ab7f6cf068;hb=c3d175609e3366d2b9a749efa2b0ca2c3b998887;hp=4ce132c3c94452274079ee66917c73b0f50051d7;hpb=c8f87d4173949b8d96c9c34e2d2c0730caeba0eb;p=distro-setup diff --git a/primary-setup b/primary-setup index 4ce132c..1a6ce0e 100755 --- a/primary-setup +++ b/primary-setup @@ -9,8 +9,8 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR if [[ $1 ]]; then new_host=$1 - sed -ri "s/MAIL_HOST=.*/MAIL_HOST=$new_host/" /a/bin/bash_unpublished/source-semi-priv - source /a/bin/bash_unpublished/source-semi-priv + sed -ri "s/MAIL_HOST=.*/MAIL_HOST=$new_host/" /a/bin/bash_unpublished/source-state + source /a/bin/bash_unpublished/source-state fi if [[ $HOSTNAME == $MAIL_HOST ]]; then @@ -33,6 +33,6 @@ else # done fi -mail-setup +/a/exe/mail-setup exit 0 :