export PATH=$(dirname $0):/bin:/usr/bin:/sbin
+# source the default configuration
. config.sh
+# source the system specific configuration
+if [ -f /etc/lsbackups.conf ]
+then
+ . /etc/lsbackups.conf
+fi
+
if [ -n "$(find $lastbackupfile -mtime +14)" -o -n "$(cat $statusfile | grep -i incomplete)" ]; then
echo "Running backups from cron..."
setsid pack-image.sh