[OpenSIPS-Devel] [opensips] opensipsctl on freebsd mkfifo issue (#364)

buchtajz notifications at github.com
Fri Oct 17 10:05:50 CEST 2014


Hi,
I must use this patch to make opensipsctl working on FreeBSD (10.0-RELEASE)

    --- opensipsctl.fifo.orig	2014-10-15 17:54:27.000000000 +0200
    +++ opensipsctl.fifo	2014-10-17 09:30:00.333819898 +0200
    @@ -65,7 +65,7 @@
 	while :
 	do
 		suffix=$(od -An -N4 -tx4 /dev/urandom  | tr -d " ")
    -		(mkfifo --mode=a+w $CHROOT_DIR/tmp/osips_rply_$suffix) &>/dev/null && break
    +		(mkfifo -m a+w $CHROOT_DIR/tmp/osips_rply_$suffix) >/dev/null && break
 	done
 	name=osips_rply_$suffix
 	path=$CHROOT_DIR/tmp/$name


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/364
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141017/95be4c55/attachment.htm>


More information about the Devel mailing list