freebsd-ports/net-mgmt/wide-dhcp/pkg-req
Christian Weisgerber 13fec2c05f - Cosmetic fixes:
- Use DOCSDIR and EXAMPLESDIR in Makefile and pkg-plist
  - Simplify post-install target
  - Check for bpf availabity by calling pkg-req script
  - Reword warning text in pkg-req and remove explicit version reference
  - Correct typo in COMMENT
- Do not update /etc/services - not needed anymore
- Bump PORTREVISION due to changed package

PR:		50918
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
2003-04-23 21:27:28 +00:00

12 lines
398 B
Bash

#!/bin/sh
if [ "$2" != "INSTALL" ]; then
exit 0
fi
if [ ! -c /dev/bpf1 ]; then
echo "**********************************************************"
echo "* This DHCP program need Berkeley packet filter (bpf)"
echo "* To use DHCP, you need to rebuild your kernel with bpf"
echo "* and make bpf devices in the /dev directory."
echo "**********************************************************"
fi