Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2012 20:25:29 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229822 - in head/etc: . rc.d
Message-ID:  <201201082025.q08KPTd1005965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Sun Jan  8 20:25:29 2012
New Revision: 229822
URL: http://svn.freebsd.org/changeset/base/229822

Log:
  There is no longer a need to abstract ${rcvar_manpage} as we are not
  attempting to maintain compatibility with NetBSD for some years now.

Modified:
  head/etc/rc.d/hostname
  head/etc/rc.subr

Modified: head/etc/rc.d/hostname
==============================================================================
--- head/etc/rc.d/hostname	Sun Jan  8 20:09:26 2012	(r229821)
+++ head/etc/rc.d/hostname	Sun Jan  8 20:25:29 2012	(r229822)
@@ -65,7 +65,7 @@ hostname_start()
 		# Null hostname is probably OK if DHCP is in use.
 		#
 		if [ -z "`list_net_interfaces dhcp`" ]; then
-			warn "\$hostname is not set -- see ${rcvar_manpage}."
+			warn "\$hostname is not set -- see rc.conf(5)."
 		fi
 		return
 	fi

Modified: head/etc/rc.subr
==============================================================================
--- head/etc/rc.subr	Sun Jan  8 20:09:26 2012	(r229821)
+++ head/etc/rc.subr	Sun Jan  8 20:25:29 2012	(r229822)
@@ -32,7 +32,6 @@
 #	functions used by various rc scripts
 #
 
-: ${rcvar_manpage:='rc.conf(5)'}
 : ${RC_PID:=$$}; export RC_PID
 
 #
@@ -152,7 +151,7 @@ checkyesno()
 		return 1
 		;;
 	*)
-		warn "\$${1} is not set properly - see ${rcvar_manpage}."
+		warn "\$${1} is not set properly - see rc.conf(5)."
 		return 1
 		;;
 	esac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201082025.q08KPTd1005965>