summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ipnat
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
committerschweikh <schweikh@FreeBSD.org>2002-10-12 10:31:31 +0000
commitb7d872536535fe8afd8ad5080a504fa41a77c095 (patch)
treec750ff3f496fe6079fff457037e64eba1f20e162 /etc/rc.d/ipnat
parentc60d03847fad771361b5a5590015bfe65a1b3023 (diff)
downloadFreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.zip
FreeBSD-src-b7d872536535fe8afd8ad5080a504fa41a77c095.tar.gz
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
Diffstat (limited to 'etc/rc.d/ipnat')
-rwxr-xr-xetc/rc.d/ipnat4
1 files changed, 2 insertions, 2 deletions
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}
OpenPOWER on IntegriCloud