Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 83036040567a4ea6c0fca07cb4614dc3 > files > 12

zoneminder-1.25.0-23.mga3.src.rpm

--- db/zm_create.sql.in_orig	2011-06-19 21:51:12.000000000 +0100
+++ db/zm_create.sql.in	2011-09-06 23:49:24.738978521 +0100
@@ -595,7 +595,12 @@
 INSERT INTO ZonePresets VALUES (4,'Best, low sensitivity','Active','Percent','Blobs',60,NULL,36,NULL,7,7,24,NULL,20,NULL,1,NULL,0);
 INSERT INTO ZonePresets VALUES (5,'Best, medium sensitivity','Active','Percent','Blobs',40,NULL,16,NULL,5,5,12,NULL,10,NULL,1,NULL,0);
 INSERT INTO ZonePresets VALUES (6,'Best, high sensitivity','Active','Percent','Blobs',20,NULL,8,NULL,3,3,6,NULL,5,NULL,1,NULL,0);
-
+--
+-- User setup from patch
+update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS';
+USE mysql;
+grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';
+USE `@ZM_DB_NAME@`;
 --
 -- Apply the initial configuration
 --