Added preset for remote ZM sources

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2974 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2009-10-14 09:42:46 +00:00
parent e91148585a
commit 72d4f11213
2 changed files with 20 additions and 1 deletions

View File

@ -38,4 +38,5 @@ EXTRA_DIST = \
zm_update-1.23.2.sql \
zm_update-1.23.3.sql \
zm_update-1.24.0.sql \
zm_update-1.24.1.sql
zm_update-1.24.1.sql \
zm_update-1.24.2.sql

18
db/zm_update-1.24.2.sql Normal file
View File

@ -0,0 +1,18 @@
--
-- This updates a 1.24.2 database to the next version
--
--
-- Add in remote ZoneMinder preset.
--
INSERT INTO MonitorPresets VALUES ('','Remote ZoneMinder','Remote',NULL,NULL,NULL,'http','simple','<ip-address>',80,'/cgi-bin/nph-zms?mode=jpeg&monitor=<monitor-id>&scale=100&maxfps=5&buffer=0',NULL,NULL,NULL,3,NULL,0,NULL,NULL,NULL,100,100);
--
-- These are optional, but we might as well do it now
--
optimize table Frames;
optimize table Events;
optimize table Filters;
optimize table Zones;
optimize table Monitors;
optimize table Stats;