Module Name: src
Committed By: sborrill
Date: Tue Mar 9 12:42:46 UTC 2021
Modified Files:
src/etc/rc.d: mountall
Log Message:
Need to explicitly load value of zfs variable as zfs=YES may be set in
/etc/rc.conf.d/zfs, not /etc/rc.conf.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/etc/rc.d/mountall
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/mountall
diff -u src/etc/rc.d/mountall:1.14 src/etc/rc.d/mountall:1.15
--- src/etc/rc.d/mountall:1.14 Tue Feb 16 10:02:42 2021
+++ src/etc/rc.d/mountall Tue Mar 9 12:42:46 2021
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: mountall,v 1.14 2021/02/16 10:02:42 hannken Exp $
+# $NetBSD: mountall,v 1.15 2021/03/09 12:42:46 sborrill Exp $
#
# REQUIRE: mountcritremote named ypbind
@@ -41,4 +41,5 @@ mountall_stop()
}
load_rc_config $name
+load_rc_config_var zfs zfs
run_rc_command "$1"