a469c20e9f
- default to dropping to _ipguard user - add installation instructions including directory setup needed for dropped privileges - explicitly depend on the fixed version of libnet, this software doesn't work correctly without it maintainer ok
13 lines
343 B
Plaintext
13 lines
343 B
Plaintext
To have ipguard start at boot time, add the following line
|
|
to /etc/rc.conf.local, substituting the flags as needed:
|
|
|
|
ipguard_flags="<interface>"
|
|
|
|
and to /etc/rc.local:
|
|
|
|
if [ "${ipguard_flags}" != "NO" -a -x ${PREFIX}/sbin/ipguard ]; then
|
|
install -d -o _ipguard /var/run/ipguard
|
|
${PREFIX}/sbin/ipguard ${ipguard_flags}
|
|
echo -n ' ipguard'
|
|
fi
|