Rearrange so the ouput of this is a bit more cosmetic.

This commit is contained in:
thorpej 2000-03-12 03:49:36 +00:00
parent 292a9f03be
commit 5d18d90843
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: ipnat,v 1.1.1.1 2000/03/10 11:53:25 lukem Exp $
# $NetBSD: ipnat,v 1.2 2000/03/12 03:49:36 thorpej Exp $
#
# PROVIDE: ipnat
@ -26,11 +26,11 @@ ipnat_start()
if [ ! -f ${config} ]; then
return 0
fi
echo "Installing NAT rules ..."
if ! checkyesno ipfilter || [ ! -f /etc/ipf.conf ]; then
echo " (enabling ipfilter)"
echo "Enabling ipfilter for NAT."
/sbin/ipf -E -Fa
fi
echo -n "Installing NAT rules ... "
/usr/sbin/ipnat -F -f ${config}
}