X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=switch-mail-host;h=b67203aabc475608a4768cbcc2204126979ef48b;hp=b3e78325be1ae01d70d25b734cf991d5dbad86d7;hb=2d3ce30754a3f24d922635647bab4990b60f5c27;hpb=2cff2dd2b8040e6cbd721932ae09142881d7e0a6 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 <