backup: last fix, I swear

This commit is contained in:
Franco Fichtner 2016-07-25 19:57:30 +02:00
parent e061374a77
commit ba75faebfe

View File

@ -11,7 +11,7 @@ else
if [ -d "${BACKUPDIR}" ]; then
/usr/local/etc/rc.d/flowd_aggregate stop
tar -C / -czf "${BACKUPFILE}" "${BACKUPDIR}"
if [ "${1}" = "stop" ]; then
if [ "${1}" != "stop" ]; then
/usr/local/etc/rc.d/flowd_aggregate start
fi
fi