Module Name:    src
Committed By:   apb
Date:           Fri Sep 11 18:17:43 UTC 2009

Modified Files:
        src/etc/rc.d: bootconf.sh

Log Message:
Adapt /etc/rc.d/bootconf.sh script to the new /etc/rc:
Add "KEYWORD: interactive" so that the script's prompts work,
and use rc_print_metadata to add a message to the log.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/etc/rc.d/bootconf.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/bootconf.sh
diff -u src/etc/rc.d/bootconf.sh:1.11 src/etc/rc.d/bootconf.sh:1.12
--- src/etc/rc.d/bootconf.sh:1.11	Sun Sep  6 12:30:45 2009
+++ src/etc/rc.d/bootconf.sh	Fri Sep 11 18:17:43 2009
@@ -1,10 +1,11 @@
 #!/bin/sh
 #
-# $NetBSD: bootconf.sh,v 1.11 2009/09/06 12:30:45 apb Exp $
+# $NetBSD: bootconf.sh,v 1.12 2009/09/11 18:17:43 apb Exp $
 #
 
 # PROVIDE: bootconf
 # REQUIRE: mountcritlocal
+# KEYWORD: interactive
 
 $_rc_subr_loaded . /etc/rc.subr
 
@@ -66,6 +67,8 @@
 		fi
 	done
 
+	rc_print_metadata "note:Using configuration \"${conf}\""
+
 	case  $conf in
 	current|default)
 		;;

Reply via email to