svn commit: r241208 - in stable/9/etc: . rc.d

Doug Barton dougb at FreeBSD.org
Thu Oct 4 22:31:57 UTC 2012


Author: dougb
Date: Thu Oct  4 22:31:56 2012
New Revision: 241208
URL: http://svn.freebsd.org/changeset/base/241208

Log:
  MFC r229822:
  
  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:
  stable/9/etc/rc.d/hostname
  stable/9/etc/rc.subr
Directory Properties:
  stable/9/etc/   (props changed)

Modified: stable/9/etc/rc.d/hostname
==============================================================================
--- stable/9/etc/rc.d/hostname	Thu Oct  4 22:24:14 2012	(r241207)
+++ stable/9/etc/rc.d/hostname	Thu Oct  4 22:31:56 2012	(r241208)
@@ -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: stable/9/etc/rc.subr
==============================================================================
--- stable/9/etc/rc.subr	Thu Oct  4 22:24:14 2012	(r241207)
+++ stable/9/etc/rc.subr	Thu Oct  4 22:31:56 2012	(r241208)
@@ -32,7 +32,6 @@
 #	functions used by various rc scripts
 #
 
-: ${rcvar_manpage:='rc.conf(5)'}
 : ${RC_PID:=$$}; export RC_PID
 
 #
@@ -159,7 +158,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


More information about the svn-src-stable-9 mailing list