From 6561b24248188e5bce423acab25c2c14c7e5ce6d Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 29 Jul 2019 13:04:44 -0400 Subject: [PATCH] fix paths due to no fixing bashrc on ssh --- primary-setup | 2 +- switch-mail-host | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/primary-setup b/primary-setup index 22ec48e..1a6ce0e 100755 --- a/primary-setup +++ b/primary-setup @@ -33,6 +33,6 @@ else # done fi -mail-setup +/a/exe/mail-setup exit 0 : diff --git a/switch-mail-host b/switch-mail-host index 199c16d..3264224 100644 --- a/switch-mail-host +++ b/switch-mail-host @@ -142,7 +142,7 @@ EOF # I think exim will try ipv6 first, so no need to disable # ipv6 i think. -$old_shell primary-setup $new_hostname +$old_shell /a/exe/primary-setup $new_hostname if $localhost_new; then btrbk-run -s $old_host $mp_args @@ -150,7 +150,7 @@ else btrbk-run -t $new_host $mp_args fi -$new_shell primary-setup $new_hostname +$new_shell /a/exe/primary-setup $new_hostname if $restore_new_btrbk; then $new_shell sudo systemctl start btrbk.timer -- 2.30.2