Does a status check before anything else.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@348 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
376cc3bc85
commit
ddab0f3311
|
@ -116,6 +116,7 @@ if ( $command =~ /^(?:start|restart)$/ )
|
|||
if ( $status eq "stopped" )
|
||||
{
|
||||
execute( ZM_PATH_BIN."/zmfix" );
|
||||
execute( ZM_PATH_BIN."/zmdc.pl status" );
|
||||
|
||||
my $dbh = DBI->connect( "DBI:mysql:database=".ZM_DB_NAME.";host=".ZM_DB_SERVER, ZM_DB_USERA, ZM_DB_PASSA );
|
||||
|
||||
|
|
Loading…
Reference in New Issue