put back build replacements, don't know how I lost those
This commit is contained in:
parent
612e96bbfe
commit
e4106e34a1
|
@ -219,7 +219,7 @@ package ZMServer;
|
||||||
use strict;
|
use strict;
|
||||||
use bytes;
|
use bytes;
|
||||||
|
|
||||||
use lib '/usr/share/perl/5.20.2'; # Include custom perl install path
|
@EXTRA_PERL_LIB@
|
||||||
use ZoneMinder;
|
use ZoneMinder;
|
||||||
use POSIX;
|
use POSIX;
|
||||||
use Socket;
|
use Socket;
|
||||||
|
@ -857,10 +857,10 @@ sub killAll
|
||||||
my $delay = shift;
|
my $delay = shift;
|
||||||
sleep( $delay );
|
sleep( $delay );
|
||||||
my $killall;
|
my $killall;
|
||||||
if ( 'linux' eq 'BSD' )
|
if ( '@HOST_OS@' eq 'BSD' )
|
||||||
{
|
{
|
||||||
$killall = 'killall -';
|
$killall = 'killall -';
|
||||||
} elsif ( 'linux' eq 'solaris' ) {
|
} elsif ( '@HOST_OS@' eq 'solaris' ) {
|
||||||
$killall = 'pkill -';
|
$killall = 'pkill -';
|
||||||
} else {
|
} else {
|
||||||
$killall = 'killall -q -s ';
|
$killall = 'killall -q -s ';
|
||||||
|
|
Loading…
Reference in New Issue