Issue354: Fixes for rtpengint to ngcp-rtpengine renaming issues (including issue 356).

pull/357/head
Konstantin Poliakov 9 years ago
parent 896a32496c
commit 5c5a4ef4fc

@ -31,7 +31,7 @@ rtpengine=/usr/sbin/rtpengine
prog=rtpengine
pidfile=${PIDFILE-/var/run/rtpengine.pid}
lockfile=${LOCKFILE-/var/lock/subsys/rtpengine}
cachefile=/var/lib/rtpengine/rtpengine.cfg
cachefile=/var/lib/ngcp-rtpengine/rtpengine.cfg
RETVAL=0
OPTS="--pidfile $pidfile"

@ -88,8 +88,8 @@ install -D -p -m644 kernel-module/xt_RTPENGINE.h \
mkdir -p %{buildroot}%{_usrsrc}/%{name}-%{version}-%{release}
install -D -p -m644 kernel-module/rtpengine_config.h \
%{buildroot}%{_usrsrc}/%{name}-%{version}-%{release}/rtpengine_config.h
sed -i -e "s/__VERSION__/%{version}-%{release}/g;s/ngcp-rtpengine/rtpengine/g" debian/dkms.conf.in
install -D -p -m644 debian/dkms.conf.in %{buildroot}%{_usrsrc}/%{name}-%{version}-%{release}/dkms.conf
sed -i -e "s/__VERSION__/%{version}-%{release}/g" %{buildroot}%{_usrsrc}/%{name}-%{version}-%{release}/dkms.conf
# For RHEL 7, load the compiled kernel module on boot.
%if 0%{?rhel} == 7

@ -41,6 +41,6 @@ LISTEN_UDP=127.0.0.1:2222 # IP address and port combination for UDP
#REDIS_DB=0
#B2B_URL=http://127.0.0.1:8080/xmlrpc
#RE_USER=rtpengine # Run rtpengine as this specific user
#RE_USER=ngcp-rtpengine # Run rtpengine as this specific user
#RE_GROUP=rtpengine # allow this group to control rtpengine in kernel mode
#RE_GROUP=ngcp-rtpengine # allow this group to control rtpengine in kernel mode

Loading…
Cancel
Save