Removed absolute path to control scripts.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1567 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
b22a5ed0ed
commit
fcf08b1357
|
@ -175,7 +175,7 @@ if ( !defined($monitor->{ShmId}) )
|
||||||
sub Suspend
|
sub Suspend
|
||||||
{
|
{
|
||||||
my $monitor = shift;
|
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 );
|
qx( $suspend_cmd );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ sub Resume
|
||||||
{
|
{
|
||||||
my $monitor = shift;
|
my $monitor = shift;
|
||||||
sleep( $monitor->{TrackDelay} );
|
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 );
|
qx( $resume_cmd );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue