Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/rc.d Need to explicitly load value of zfs variable as zf...



details:   https://anonhg.NetBSD.org/src/rev/8a2c71435549
branches:  trunk
changeset: 960146:8a2c71435549
user:      sborrill <sborrill%NetBSD.org@localhost>
date:      Tue Mar 09 12:42:46 2021 +0000

description:
Need to explicitly load value of zfs variable as zfs=YES may be set in
/etc/rc.conf.d/zfs, not /etc/rc.conf.

diffstat:

 etc/rc.d/mountall |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e5804c359ad0 -r 8a2c71435549 etc/rc.d/mountall
--- a/etc/rc.d/mountall Tue Mar 09 12:02:24 2021 +0000
+++ b/etc/rc.d/mountall Tue Mar 09 12:42:46 2021 +0000
@@ -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 @@
 }
 
 load_rc_config $name
+load_rc_config_var zfs zfs
 run_rc_command "$1"



Home | Main Index | Thread Index | Old Index