X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=switch-mail-host;h=b67203aabc475608a4768cbcc2204126979ef48b;hb=8826440696abdfbfd6c7f5a40c95163bd489a1b1;hp=b3e78325be1ae01d70d25b734cf991d5dbad86d7;hpb=b857462732e15f455e41f26e3048a390d7b399c0;p=distro-setup diff --git a/switch-mail-host b/switch-mail-host index b3e7832..b67203a 100755 --- a/switch-mail-host +++ b/switch-mail-host @@ -133,9 +133,10 @@ if [[ $new_host == $HOSTNAME ]] && ! $at_home; then echo | $wrt_shell cedit mail_host /etc/hosts || [[ $? == 1 ]] # 1 means file changed. else $wrt_shell bash -s <