Sign in
third-party-mirror
/
backupdr
/
017c3036efc179312f18eb3dfa01f3deadbb7aa3
/
.
/
zfs
/
contrib
/
dracut
/
90zfs
/
zfs-needshutdown.sh.in
blob: 7fb825bc95a2721e67925d604cff97a0c7bc7dc6 [
file
] [
log
] [
blame
]
#!/bin/sh
command
-
v getarg
>/
dev
/
null
2
>&
1
||
.
/
lib
/
dracut
-
lib
.
sh
if
[
-
z
"$(zpool get -Ho value name)"
];
then
info
"ZFS: No active pools, no need to export anything."
else
info
"ZFS: There is an active pool, will export it."
need_shutdown
fi