put back build replacements, don't know how I lost those

This commit is contained in:
Isaac Connor 2015-06-22 13:56:27 -04:00
parent 612e96bbfe
commit e4106e34a1
1 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ package ZMServer;
use strict;
use bytes;
use lib '/usr/share/perl/5.20.2'; # Include custom perl install path
@EXTRA_PERL_LIB@
use ZoneMinder;
use POSIX;
use Socket;
@ -857,10 +857,10 @@ sub killAll
my $delay = shift;
sleep( $delay );
my $killall;
if ( 'linux' eq 'BSD' )
if ( '@HOST_OS@' eq 'BSD' )
{
$killall = 'killall -';
} elsif ( 'linux' eq 'solaris' ) {
} elsif ( '@HOST_OS@' eq 'solaris' ) {
$killall = 'pkill -';
} else {
$killall = 'killall -q -s ';