13fec2c05f
- 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>
12 lines
398 B
Bash
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
|