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

Mark Murray markm at FreeBSD.org
Wed Jul 8 18:46:45 UTC 2015


Author: markm
Date: Wed Jul  8 18:46:44 2015
New Revision: 285288
URL: https://svnweb.freebsd.org/changeset/base/285288

Log:
  Address review.
  
  Differential Revision: https://reviews.freebsd.org/D2924

Modified:
  head/etc/rc.d/random

Modified: head/etc/rc.d/random
==============================================================================
--- head/etc/rc.d/random	Wed Jul  8 18:43:55 2015	(r285287)
+++ head/etc/rc.d/random	Wed Jul  8 18:46:44 2015	(r285288)
@@ -67,7 +67,7 @@ random_start()
 	esac
 
 	case ${entropy_file:=/entropy} in
-	[Nn][Oo] | '')
+	[Nn][Oo])
 		;;
 	*)
 		feed_dev_random "${entropy_file}" /var/db/entropy-file
@@ -76,7 +76,7 @@ random_start()
 	esac
 
 	case ${entropy_boot_file:=/boot/entropy} in
-	[Nn][Oo] | '')
+	[Nn][Oo])
 		;;
 	*)
 		save_dev_random "${entropy_boot_file}"
@@ -92,7 +92,7 @@ random_stop()
 	# can be reseeded
 	#
 	case ${entropy_file:=/entropy} in
-	[Nn][Oo] | '')
+	[Nn][Oo])
 		;;
 	*)
 		echo -n 'Writing entropy file:'
@@ -124,7 +124,7 @@ random_stop()
 		;;
 	esac
 	case ${entropy_boot_file:=/boot/entropy} in
-	[Nn][Oo] | '')
+	[Nn][Oo])
 		;;
 	*)
 		echo -n 'Writing early boot entropy file:'


More information about the svn-src-all mailing list