Add some instructions on how to auto-start tabled at boot-time.
This commit is contained in:
parent
71ddc337fc
commit
5593621712
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2007/01/13 10:53:32 mbalmer Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2007/01/15 09:46:47 mbalmer Exp $
|
||||
|
||||
COMMENT= "daemon to modify pf tables from userland"
|
||||
|
||||
DISTNAME= tabled-1.0.4
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
@ -3,4 +3,13 @@ in this version of tabled before the daemon is started:
|
||||
|
||||
# mkfifo /var/run/tabled.sock
|
||||
|
||||
To automatically start tabled at system startup time, you can add the following
|
||||
commands to ${SYSCONFDIR}/rc.local:
|
||||
|
||||
if [ -x ${PREFIX}/sbin/tabled ]; then
|
||||
echo -n ' tabled'
|
||||
mkfifo -m 600 /var/run/tabled.sock
|
||||
${PREFIX}/sbin/tabled
|
||||
fi
|
||||
|
||||
Make sure to set the permsission of the fifo right.
|
||||
|
Loading…
Reference in New Issue
Block a user