[Midnightbsd-cvs] src: routing: Remove some of these options as they were moved to

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jan 17 12:20:22 EST 2009


Log Message:
-----------
Remove some of these options as they were moved  to netoptions

Modified Files:
--------------
    src/etc/rc.d:
        routing (r1.2 -> r1.3)

-------------- next part --------------
Index: routing
===================================================================
RCS file: /home/cvs/src/etc/rc.d/routing,v
retrieving revision 1.2
retrieving revision 1.3
diff -L etc/rc.d/routing -L etc/rc.d/routing -u -r1.2 -r1.3
--- etc/rc.d/routing
+++ etc/rc.d/routing
@@ -3,7 +3,7 @@
 # Configure routing and miscellaneous network tunables
 #
 # $MidnightBSD$
-# $FreeBSD: src/etc/rc.d/routing,v 1.141.2.1 2006/01/21 22:42:43 yar Exp $
+# $FreeBSD: src/etc/rc.d/routing,v 1.143 2007/05/02 15:49:30 mtm Exp $
 #
 
 # PROVIDE: routing
@@ -62,15 +62,6 @@
 options_start()
 {
 	echo -n 'Additional routing options:'
-	case ${tcp_extensions} in
-	[Yy][Ee][Ss] | '')
-		;;
-	*)
-		echo -n ' tcp extensions=NO'
-		sysctl net.inet.tcp.rfc1323=0 >/dev/null
-		;;
-	esac
-
 	case ${icmp_bmcastecho} in
 	[Yy][Ee][Ss])
 		echo -n ' broadcast ping responses=YES'
@@ -113,20 +104,6 @@
 		;;
 	esac
 
-	case ${tcp_keepalive} in
-	[Nn][Oo])
-		echo -n ' TCP keepalive=NO'
-		sysctl net.inet.tcp.always_keepalive=0 >/dev/null
-		;;
-	esac
-
-	case ${tcp_drop_synfin} in
-	[Yy][Ee][Ss])
-		echo -n ' drop SYN+FIN packets=YES'
-		sysctl net.inet.tcp.drop_synfin=1 >/dev/null
-		;;
-	esac
-
 	case ${ipxgateway_enable} in
 	[Yy][Ee][Ss])
 		echo -n ' IPX gateway=YES'
@@ -141,24 +118,6 @@
 		;;
 	esac
 
-	case ${ip_portrange_first} in
-	[Nn][Oo] | '')
-		;;
-	*)
-		echo -n " ip_portrange_first=$ip_portrange_first"
-		sysctl net.inet.ip.portrange.first=$ip_portrange_first >/dev/null
-		;;
-	esac
-
-	case ${ip_portrange_last} in
-	[Nn][Oo] | '')
-		;;
-	*)
-		echo -n " ip_portrange_last=$ip_portrange_last"
-		sysctl net.inet.ip.portrange.last=$ip_portrange_last >/dev/null
-		;;
-	esac
-
 	echo '.'
 }
 


More information about the Midnightbsd-cvs mailing list