Module Name: src
Committed By: nakayama
Date: Wed Aug 7 19:30:00 UTC 2019
Modified Files:
src/etc/rc.d: automount automountd autounmountd ip6addrctl
Log Message:
Add $_rc_subr_loaded before ". /etc/rc.subr" for speedup and consistency.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/automount src/etc/rc.d/automountd \
src/etc/rc.d/autounmountd
cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/ip6addrctl
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/automount
diff -u src/etc/rc.d/automount:1.1 src/etc/rc.d/automount:1.2
--- src/etc/rc.d/automount:1.1 Tue Jan 9 03:31:14 2018
+++ src/etc/rc.d/automount Wed Aug 7 19:30:00 2019
@@ -1,13 +1,13 @@
#!/bin/sh
#
-# $NetBSD: automount,v 1.1 2018/01/09 03:31:14 christos Exp $
+# $NetBSD: automount,v 1.2 2019/08/07 19:30:00 nakayama Exp $
#
# PROVIDE: automount
# REQUIRE: automountd
# KEYWORD: nojail shutdown
-. /etc/rc.subr
+$_rc_subr_loaded . /etc/rc.subr
name="automount"
rcvar="autofs"
Index: src/etc/rc.d/automountd
diff -u src/etc/rc.d/automountd:1.1 src/etc/rc.d/automountd:1.2
--- src/etc/rc.d/automountd:1.1 Tue Jan 9 03:31:14 2018
+++ src/etc/rc.d/automountd Wed Aug 7 19:30:00 2019
@@ -1,13 +1,13 @@
#!/bin/sh
#
-# $NetBSD: automountd,v 1.1 2018/01/09 03:31:14 christos Exp $
+# $NetBSD: automountd,v 1.2 2019/08/07 19:30:00 nakayama Exp $
#
# PROVIDE: automountd
# REQUIRE: DAEMON
# KEYWORD: nojail
-. /etc/rc.subr
+$_rc_subr_loaded . /etc/rc.subr
name="automountd"
rcvar="autofs"
Index: src/etc/rc.d/autounmountd
diff -u src/etc/rc.d/autounmountd:1.1 src/etc/rc.d/autounmountd:1.2
--- src/etc/rc.d/autounmountd:1.1 Tue Jan 9 03:31:14 2018
+++ src/etc/rc.d/autounmountd Wed Aug 7 19:30:00 2019
@@ -7,7 +7,7 @@
# REQUIRE: DAEMON
# KEYWORD: nojail
-. /etc/rc.subr
+$_rc_subr_loaded . /etc/rc.subr
name="autounmountd"
rcvar="autofs"
Index: src/etc/rc.d/ip6addrctl
diff -u src/etc/rc.d/ip6addrctl:1.2 src/etc/rc.d/ip6addrctl:1.3
--- src/etc/rc.d/ip6addrctl:1.2 Wed Dec 23 04:38:00 2015
+++ src/etc/rc.d/ip6addrctl Wed Aug 7 19:30:00 2019
@@ -6,7 +6,7 @@
# PROVIDE: ip6addrctl
# REQUIRE: root bootconf mountcritlocal tty
-. /etc/rc.subr
+$_rc_subr_loaded . /etc/rc.subr
name="ip6addrctl"
rcvar="ip6addrctl"