[Home]

Summary:ASTERISK-09513: Zaptel init file issue with HPEC (1.2.17.1 tarball)
Reporter:Noah Miller (noahisaac)Labels:
Date Opened:2007-05-24 18:40:36Date Closed:2008-06-07 12:54:58
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) zaptel-init.diff
Description:Hi -

I just noticed a small issue with the zaptel init file pertaining to HPEC in the zaptel 1.2.17.1 tarball.  At least it happens on CentOS 4.4.  Specifically, the if statement that checks for an HPEC license makes use of "find" that fails with this error on the console:

find: invalid predicate `-quit'

The result is that HPEC won't be enabled when the init file is run.

I'll see if I can come up with a fix.  Maybe just an extra set of quotes.

Thanks,
Noah
Comments:By: Noah Miller (noahisaac) 2007-05-25 20:40:15

This patch fixed the issue on CentOS 4.4.  I haven't tested on other platforms (the issue may not exist on other platforms).

By: Russell Bryant (russell) 2007-06-07 12:01:52

This has been resolved in 1.2 in revisiosn 2584, thanks!

By: Digium Subversion (svnbot) 2008-06-07 12:54:57

Repository: dahdi
Revision: 2583

U   branches/1.2/zaptel.init

------------------------------------------------------------------------
r2583 | russell | 2008-06-07 12:54:57 -0500 (Sat, 07 Jun 2008) | 4 lines

The -quit option to find is not supported on the version of find installed on
Centos 4.  Lame!  Just remove it, as it isn't really necessary.
(issue ASTERISK-9513, noahisaac)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2583

By: Digium Subversion (svnbot) 2008-06-07 12:54:58

Repository: dahdi
Revision: 2584

_U  branches/1.4/

------------------------------------------------------------------------
r2584 | russell | 2008-06-07 12:54:58 -0500 (Sat, 07 Jun 2008) | 11 lines

Blocked revisions 2583 via svnmerge

........
r2583 | russell | 2007-06-07 12:01:04 -0500 (Thu, 07 Jun 2007) | 4 lines

The -quit option to find is not supported on the version of find installed on
Centos 4.  Lame!  Just remove it, as it isn't really necessary.
(issue ASTERISK-9513, noahisaac)

........

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2584