From b7d872536535fe8afd8ad5080a504fa41a77c095 Mon Sep 17 00:00:00 2001 From: schweikh Date: Sat, 12 Oct 2002 10:31:31 +0000 Subject: Fix style bugs: * Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line. Approved by: silence from gordon --- etc/rc.d/ipnat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/rc.d/ipnat') diff --git a/etc/rc.d/ipnat b/etc/rc.d/ipnat index 1edb845..b9c4512 100755 --- a/etc/rc.d/ipnat +++ b/etc/rc.d/ipnat @@ -35,7 +35,7 @@ extra_commands="reload" ipnat_precmd() { # Make sure ipfilter is loaded before continuing - if ! ${SYSCTL} net.inet.ipf.fr_pass >/dev/null 2>&1 ; then + if ! ${SYSCTL} net.inet.ipf.fr_pass >/dev/null 2>&1; then err 'ipnat requires ipfilter be loaded' return 1 fi @@ -56,7 +56,7 @@ ipnat_start() echo '.' # restore filter/NAT state tables after loading the rules - if checkyesno ipfs_enable ; then + if checkyesno ipfs_enable; then if [ -r "/var/db/ipf/ipstate.ipf" ]; then echo -n ' ipfs' ${ipfs_program:-/sbin/ipfs} -R ${ipfs_flags} -- cgit v1.1