igmpproxy has an rc script; change the "add to rc.local" doco, spotted by weerd@

This commit is contained in:
sthen 2015-02-16 22:53:55 +00:00
parent ad43ce3371
commit be1a24796d
2 changed files with 6 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.11 2015/01/19 20:26:04 naddy Exp $
# $OpenBSD: Makefile,v 1.12 2015/02/16 22:53:55 sthen Exp $
COMMENT = Multicast router utilizing IGMP forwarding
COMMENT = multicast router utilizing IGMP forwarding
VERSION = 0.1-beta2
DISTNAME = igmpproxy-src-${VERSION}
PKGNAME = igmpproxy-${VERSION:S/-beta/b/}
REVISION = 5
REVISION = 6
CATEGORIES = net
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.3 2011/06/02 13:41:39 ajacoutot Exp $
$OpenBSD: README,v 1.4 2015/02/16 22:53:55 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -14,11 +14,9 @@ multicast forwarding:
and restart. Note that client machines using OpenBSD should
be configured with multicast_host=YES.
To have igmpproxy start at boot time, add this to /etc/rc.local:
Start igmpproxy at boot time in the usual way:
if [ -x ${TRUEPREFIX}/sbin/igmpproxy ]; then
echo -n ' igmpproxy'; ${TRUEPREFIX}/sbin/igmpproxy
fi
# rcctl enable igmpproxy; rcctl start igmpproxy
PF must be configured so that control packets (proto igmp) and
data packets (destination address within 224.0.0.0/4) are passed.