openbsd-ports/net/nfr/pkg/INSTALL

33 lines
898 B
Plaintext
Raw Normal View History

1999-03-06 17:51:40 -05:00
#!/bin/sh
# Post-installation jonks for NFR.
#
# dugsong@monkey.org
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ "$2" = "POST-INSTALL" ]; then
echo ""
${PREFIX}/nfr/bin/createuser
echo " NFR requires a bpf device enabled in your kernel."
echo " Add the following line to the bottom of your kernel"
echo " config file and rebuild your kernel, if you don't:"
echo ""
echo " pseudo-device bpfilter 4 # packet filter"
echo ""
echo " NFR has been installed in ${PREFIX}/nfr which is the"
echo " home directory of user \"nfr\". See the README file"
echo " in that directory for information on configuring,"
echo " starting, and using NFR."
echo ""
for dir in tmp log etc/locks etc/run/getput etc/run/spacemand etc/run/alertd etc/httpd/cgi-bin/tmp ; do
mkdir -p -m 755 ${PREFIX}/nfr/${dir}
done
chown -R nfr:nfr ${PREFIX}/nfr
fi