From fcf08b1357395abf2406b8c7be93432e990a62f6 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 7 Nov 2005 12:07:12 +0000 Subject: [PATCH] Removed absolute path to control scripts. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1567 e3e1d417-86f3-4887-817a-d78f3d33393f --- scripts/zmtrack.pl.z | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/zmtrack.pl.z b/scripts/zmtrack.pl.z index 7babe3ba9..49d5dda30 100755 --- a/scripts/zmtrack.pl.z +++ b/scripts/zmtrack.pl.z @@ -175,7 +175,7 @@ if ( !defined($monitor->{ShmId}) ) sub Suspend { my $monitor = shift; - my $suspend_cmd = "/usr/local/bin/zmu -m ".$monitor->{Id}." -u -U admin -P pc00zm"; + my $suspend_cmd = ZM_PATH_BIN."/zmu -m ".$monitor->{Id}." -u -U admin -P pc00zm"; qx( $suspend_cmd ); } @@ -183,7 +183,7 @@ sub Resume { my $monitor = shift; sleep( $monitor->{TrackDelay} ); - my $resume_cmd = "/usr/local/bin/zmu -m ".$monitor->{Id}." -r -U admin -P pc00zm"; + my $resume_cmd = ZM_PATH_BIN."/zmu -m ".$monitor->{Id}." -r -U admin -P pc00zm"; qx( $resume_cmd ); }