Need to explicitly load value of zfs variable as zfs=YES may be set in

/etc/rc.conf.d/zfs, not /etc/rc.conf.
This commit is contained in:
sborrill 2021-03-09 12:42:46 +00:00
parent 55d4a9403e
commit 4f6c3ffcd1

@ -1,6 +1,6 @@
#!/bin/sh #!/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 # REQUIRE: mountcritremote named ypbind
@ -41,4 +41,5 @@ mountall_stop()
} }
load_rc_config $name load_rc_config $name
load_rc_config_var zfs zfs
run_rc_command "$1" run_rc_command "$1"