svn commit: r202988 - head/etc

Ed Maste emaste at FreeBSD.org
Mon Jan 25 20:59:04 UTC 2010


Author: emaste
Date: Mon Jan 25 20:59:04 2010
New Revision: 202988
URL: http://svn.freebsd.org/changeset/base/202988

Log:
  Remove vestigial NetBSD compatibility shim.

Modified:
  head/etc/rc.subr

Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr	Mon Jan 25 20:51:40 2010	(r202987)
+++ head/etc/rc.subr	Mon Jan 25 20:59:04 2010	(r202988)
@@ -52,22 +52,12 @@ _rc_subr_loaded="YES"
 
 SYSCTL="/sbin/sysctl"
 SYSCTL_N="${SYSCTL} -n"
-CMD_OSTYPE="${SYSCTL_N} kern.ostype"
-OSTYPE=`${CMD_OSTYPE}`
+SYSCTL_W="${SYSCTL}"
 ID="/usr/bin/id"
 IDCMD="if [ -x $ID ]; then $ID -un; fi"
 PS="/bin/ps -ww"
 JID=`$PS -p $$ -o jid=`
 
-case ${OSTYPE} in
-FreeBSD)
-	SYSCTL_W="${SYSCTL}"
-	;;
-NetBSD)
-	SYSCTL_W="${SYSCTL} -w"
-	;;
-esac
-
 #
 #	functions
 #	---------


More information about the svn-src-head mailing list