revert wip config backup

This commit is contained in:
Isaac Connor 2017-06-09 15:28:01 -04:00
parent 809d20dcd0
commit 617cdd5fd3
1 changed files with 0 additions and 5 deletions

View File

@ -44,11 +44,6 @@ if [ "$1" = "configure" ]; then
# Ensure zoneminder is stopped # Ensure zoneminder is stopped
deb-systemd-invoke stop zoneminder.service || exit $? deb-systemd-invoke stop zoneminder.service || exit $?
zmupdate.pl --nointeractive zmupdate.pl --nointeractive
OLD_DIR_EVENTS=mysql -u $ZM_DB_USER --password="$ZM_DB_PASS" -h $ZM_DB_HOST -N -B $ZM_DB_NAME <<EOF
SELECT Value FROM Config WHERE Name='ZM_DIR_EVENTS';
EOF
echo "Value of ZM_DIR_EVENTS is $OLD_DIR_EVENTS ";
zmupdate.pl --nointeractive -f zmupdate.pl --nointeractive -f
echo "Done Updating, starting ZoneMinder" echo "Done Updating, starting ZoneMinder"
deb-systemd-invoke start zoneminder.service || exit $? deb-systemd-invoke start zoneminder.service || exit $?