aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/wide-dhcp/pkg-req
blob: f4b0f7421d4fb37ca313f4c875e1f9f4984bdcf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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