3 PATH=/sbin:/usr/sbin:/bin:/usr/bin; export PATH
5 # try to bomb out fast if anything fails....
12 if [ $os = FreeBSD ] ; then
14 rev=`expr $rev : '\([0-9]*\)\..*'`
15 if [ $rev = 2 ] ; then
16 echo "Copying /usr/include/osreldate.h to /sys/sys"
17 cp /usr/include/osreldate.h /sys/sys
20 archdir="/sys/arch/$karch"
22 if [ -d /sys/contrib/ipfilter ] ; then
23 ipfdir=/sys/contrib/ipfilter/netinet
25 confdir="$archdir/conf"
28 for i in ip_fil.[ch] fil.c ip_nat.[ch] ip_frag.[ch] ip_state.[ch] ip_proxy.[ch] ip_auth.[ch] ip_log.c ip_compat.h ipl.h ip_*_pxy.c ; do
34 if [ -f /sys/netinet/ip_fil_compat.h ] ; then
35 echo "Linking /sys/netinet/ip_compat.h to /sys/netinet/ip_fil_compat.h"
36 rm /sys/netinet/ip_fil_compat.h
37 ln -s /sys/netinet/ip_compat.h /sys/netinet/ip_fil_compat.h