Added zmfilter control with zma.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@456 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
6a353fd26f
commit
c29554f7f5
|
@ -155,12 +155,15 @@ function zmaControl( $monitor, $restart=false )
|
|||
{
|
||||
if ( $restart )
|
||||
{
|
||||
daemonControl( "stop", "zmfilter.pl", "-m $monitor[Id] -e -1" );
|
||||
daemonControl( "stop", "zma", "-m $monitor[Id]" );
|
||||
}
|
||||
daemonControl( "start", "zma", "-m $monitor[Id]" );
|
||||
daemonControl( "start", "zmfilter.pl", "-m $monitor[Id] -e -1" );
|
||||
}
|
||||
else
|
||||
{
|
||||
daemonControl( "stop", "zmfilter.pl", "-m $monitor[Id] -e -1" );
|
||||
daemonControl( "stop", "zma", "-m $monitor[Id]" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue