mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
6370b94892
to one that works. Submitted by: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp>
14 lines
570 B
Bash
14 lines
570 B
Bash
#!/bin/sh
|
|
if [ "$2" != "INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
if [ ! -c /dev/bpf1 ]; then \
|
|
echo "**********************************************************";\
|
|
echo "* W a r n i n g *";\
|
|
echo "* This DHCP program need Berkeley packet filter(bpf). *";\
|
|
echo "* To use DHCP, your kernel must be rebuilt with bpf, and *";\
|
|
echo "* make bpf devices on /dev directory. *";\
|
|
echo "* Please read some info file with \`pkg_info dhcp-1.3b'. *";\
|
|
echo "**********************************************************";\
|
|
fi
|