From 7a6b7fe71548afeabbd8ff949df436d3ca44446b Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 21 Apr 2017 13:59:28 +0200 Subject: [PATCH] minissdpd/testminissdpd.sh: test under OpenBSD and FreeBSD --- minissdpd/testminissdpd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minissdpd/testminissdpd.sh b/minissdpd/testminissdpd.sh index 7031aa9..66b41fc 100755 --- a/minissdpd/testminissdpd.sh +++ b/minissdpd/testminissdpd.sh @@ -1,10 +1,10 @@ #!/bin/sh -# $Id: testminissdpd.sh,v 1.2 2015/09/03 18:31:25 nanard Exp $ -# (c) 2016 Thomas Bernard +# $Id: testminissdpd.sh,v 1.8 2017/04/21 11:57:59 nanard Exp $ +# (c) 2017 Thomas Bernard OS=`uname -s` IF=lo -if [ "$OS" = "Darwin" ] || [ "$OS" = "SunOS" ] ; then +if [ "$OS" = "Darwin" ] || [ "$OS" = "OpenBSD" ] || [ "$OS" = "SunOS" ] || [ "$OS" = "FreeBSD" ] ; then IF=lo0 fi # if set, 1st argument is network interface