[PC-BSD Commits] r4941 - pcbsd/trunk/lifePreserver/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Nov 10 15:56:06 PST 2009


Author: kris
Date: 2009-11-10 15:56:06 -0800 (Tue, 10 Nov 2009)
New Revision: 4941

Modified:
   pcbsd/trunk/lifePreserver/scripts/start-backup.sh
Log:

Fixed bug with cron backups, need to make sure we have rsync in our path



Modified: pcbsd/trunk/lifePreserver/scripts/start-backup.sh
===================================================================
--- pcbsd/trunk/lifePreserver/scripts/start-backup.sh	2009-11-10 22:18:24 UTC (rev 4940)
+++ pcbsd/trunk/lifePreserver/scripts/start-backup.sh	2009-11-10 23:56:06 UTC (rev 4941)
@@ -3,6 +3,9 @@
 ###########################################################################
 PRESERVER=$1
 
+PATH="${PATH}:/usr/local/bin:/usr/local/sbin"
+export PATH
+
 if [ -z "${PRESERVER}" ]
 then
   echo "ERROR: Usage start-backup.sh <user>@<host>"



More information about the Commits mailing list