openbsd-ports/telephony/kamailio/patches/patch-scripts_kamctlrc
sthen ee595d2ae5 - fix unportable code in scripts;
"echo -e" -> "printf"
"exit -1" -> "exit 255"

- some of the patches had hand-rolled chunks to replace /bin/bash
with /bin/sh near a CVS keyword; remove these and replace with a
pre-configure target making it easier to update-patches

- change sample config to disable hardcoded escape sequences for
colours by default

- bump PKGNAME-main
2009-09-12 09:42:04 +00:00

18 lines
547 B
Plaintext

$OpenBSD: patch-scripts_kamctlrc,v 1.2 2009/09/12 09:42:04 sthen Exp $
--- scripts/kamctlrc.orig Tue Jul 14 15:48:56 2009
+++ scripts/kamctlrc Fri Sep 11 23:39:57 2009
@@ -135,8 +135,12 @@
## OPENSER START Options
## PID file path - default is: /var/run/kamailio.pid
-# PID_FILE=/var/run/kamailio.pid
+PID_FILE=/var/run/kamailio/kamailio.pid
## Extra start options - default is: not set
# example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64"
# STARTOPTIONS=
+
+# Disable colour highlighting at the terminal
+NOHLPRINT=1
+