svn commit: r334781 - head/etc/rc.d

Kristof Provost kp at FreeBSD.org
Thu Jun 7 13:14:09 UTC 2018


Author: kp
Date: Thu Jun  7 13:14:09 2018
New Revision: 334781
URL: https://svnweb.freebsd.org/changeset/base/334781

Log:
  ipfw: fix whitespace
  
  No functional changes.

Modified:
  head/etc/rc.d/ipfw

Modified: head/etc/rc.d/ipfw
==============================================================================
--- head/etc/rc.d/ipfw	Thu Jun  7 13:06:56 2018	(r334780)
+++ head/etc/rc.d/ipfw	Thu Jun  7 13:14:09 2018	(r334781)
@@ -117,14 +117,14 @@ ipfw_stop()
 
 ipfw_status()
 {
-    status=$(sysctl -n net.inet.ip.fw.enable)
-    if [ ${status} -eq 0 ]; then
-	echo "ipfw is not enabled"
-	exit 1
-    else
-	echo "ipfw is enabled"
-	exit 0
-    fi
+	status=$(sysctl -n net.inet.ip.fw.enable)
+	if [ ${status} -eq 0 ]; then
+		echo "ipfw is not enabled"
+		exit 1
+	else
+		echo "ipfw is enabled"
+		exit 0
+	fi
 }
 
 load_rc_config $name


More information about the svn-src-head mailing list