Added zmfilter control with zma.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@456 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2003-04-07 14:27:27 +00:00
parent 6a353fd26f
commit c29554f7f5
1 changed files with 3 additions and 0 deletions

View File

@ -155,12 +155,15 @@ function zmaControl( $monitor, $restart=false )
{ {
if ( $restart ) if ( $restart )
{ {
daemonControl( "stop", "zmfilter.pl", "-m $monitor[Id] -e -1" );
daemonControl( "stop", "zma", "-m $monitor[Id]" ); daemonControl( "stop", "zma", "-m $monitor[Id]" );
} }
daemonControl( "start", "zma", "-m $monitor[Id]" ); daemonControl( "start", "zma", "-m $monitor[Id]" );
daemonControl( "start", "zmfilter.pl", "-m $monitor[Id] -e -1" );
} }
else else
{ {
daemonControl( "stop", "zmfilter.pl", "-m $monitor[Id] -e -1" );
daemonControl( "stop", "zma", "-m $monitor[Id]" ); daemonControl( "stop", "zma", "-m $monitor[Id]" );
} }
} }