diff --git a/scripts/backup b/scripts/backup index 20a2a6ab..c6c51f06 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,6 @@ #!/bin/sh -e # Backup script to be run from pre_update_hook -# Written by Markus Armbruster, 2005 +# Written by Markus Armbruster, 2005-2012 # This script is in the public domain. # Use: edit configuration variables below to taste, then set @@ -63,7 +63,7 @@ tar czf $arc . # user's privileges are carefully limited. if [ "$remote_host" ] then - nohup sh -c "scp -qBp '$arc' '$remote_host:$remote_dir' 2>&1 | mail -e -s 'Empire backup save failed' '$email'" /dev/null 2>&1 & + nohup sh -c "scp -qBp '$arc' '$remote_host:$remote_dir' 2>&1 | mailx -s 'Empire backup save failed' '$email'" /dev/null 2>&1 & fi # # A more secure alternative is to replace the scp command by something like diff --git a/scripts/savecore b/scripts/savecore index 8057a074..e2b2ae0f 100755 --- a/scripts/savecore +++ b/scripts/savecore @@ -1,6 +1,6 @@ #!/bin/sh -e # Script to save core files, to be run from post_crash_dump_hook -# Written by Markus Armbruster, 2008-2011 +# Written by Markus Armbruster, 2008-2012 # This script is in the public domain. # Use: edit configuration variables below to taste, then set @@ -37,7 +37,6 @@ privlog= # Program to send mail mailx=mailx -#mailx=mail # End of configuration