Module Name: src
Committed By: sevan
Date: Sun Dec 8 00:58:16 UTC 2019
Modified Files:
src/etc/rc.d: zfs
Log Message:
We don't need to require the presence of /etc/zfs/zpool.cache to unmount &
unload the module, just like for the start target.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/zfs
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/zfs
diff -u src/etc/rc.d/zfs:1.3 src/etc/rc.d/zfs:1.4
--- src/etc/rc.d/zfs:1.3 Wed Dec 4 16:46:50 2019
+++ src/etc/rc.d/zfs Sun Dec 8 00:58:16 2019
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: zfs,v 1.3 2019/12/04 16:46:50 jmcneill Exp $
+# $NetBSD: zfs,v 1.4 2019/12/08 00:58:16 sevan Exp $
#
# PROVIDE: zfs
@@ -28,7 +28,7 @@ zfs_start()
zfs_stop()
{
- if [ -x /sbin/zfs -a -f /etc/zfs/zpool.cache ]; then
+ if [ -x /sbin/zfs ]; then
zfs unmount -a
modunload zfs
fi