minissdpd/testminissdpd.sh: test under OpenBSD and FreeBSD

This commit is contained in:
Thomas Bernard 2017-04-21 13:59:28 +02:00
parent af5c091002
commit 7a6b7fe715
1 changed files with 3 additions and 3 deletions

View File

@ -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