Commit 9112ec28 authored by Franco Fichtner's avatar Franco Fichtner

backup: last fix, I swear

(cherry picked from commit ba75faeb)
parent 03b5a9b0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment