aboutsummaryrefslogtreecommitdiffstats
path: root/net/wide-dhcp/pkg-req
diff options
context:
space:
mode:
Diffstat (limited to 'net/wide-dhcp/pkg-req')
-rw-r--r--net/wide-dhcp/pkg-req13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/wide-dhcp/pkg-req b/net/wide-dhcp/pkg-req
new file mode 100644
index 000000000000..f4b0f7421d4f
--- /dev/null
+++ b/net/wide-dhcp/pkg-req
@@ -0,0 +1,13 @@
+#!/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