Code: Select all
diff zmtrigger.pl~ zmtrigger.pl
53,54c53,54
< use ZoneMinder::Trigger::Channel::Unix;
< use ZoneMinder::Trigger::Channel::Serial;
---
> #CUA use ZoneMinder::Trigger::Channel::Unix;
> #CUA use ZoneMinder::Trigger::Channel::Serial;
59c59
< push( @connections, ZoneMinder::Trigger::Connection->new( name=>"Chan2", channel=>ZoneMinder::Trigger::Channel::Unix->new( path=>ZM_PATH_SOCKS.'/zmtrigger.sock' ), mode=>"rw" ) );
---
> #CUA push( @connections, ZoneMinder::Trigger::Connection->new( name=>"Chan2", channel=>ZoneMinder::Trigger::Channel::Unix->new( path=>ZM_PATH_SOCKS.'/zmtrigger.sock' ), mode=>"rw" ) );
61c61
< push( @connections, ZoneMinder::Trigger::Connection->new( name=>"Chan4", channel=>ZoneMinder::Trigger::Channel::Serial->new( path=>'/dev/ttyS0' ), mode=>"rw" ) );
---
> #CUA push( @connections, ZoneMinder::Trigger::Connection->new( name=>"Chan4", channel=>ZoneMinder::Trigger::Channel::Serial->new( path=>'/dev/ttyS0' ), mode=>"rw" ) );
337a338,345
> # CUA - Axis camera send the message quoted with"
> # CUA - Also Axis camera cannot save the plus sign which
> # CUA - possibly exists in the 1|on+20|score|cause|text|showtext formatted msg
> $message=~ s/^\"//g;
> $message=~ s/\"$//g;
> $message=~ s/on /on\+/;
> # CUA - end of modifications
>
I am running with selinux enabled, with a policy that was working for me under version 1.24.3. Anybody else make the switch and had success? Failure?