]>
Commit | Line | Data |
---|---|---|
16692e6b | 1 | #!/bin/sh |
f8e87e20 | 2 | |
16692e6b | 3 | command -v getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh |
f8e87e20 | 4 | |
1cc9cc2f | 5 | if [ -z "$(zpool get -Ho value name)" ]; then |
f8e87e20 R |
6 | info "ZFS: No active pools, no need to export anything." |
7 | else | |
8 | info "ZFS: There is an active pool, will export it." | |
9 | need_shutdown | |
10 | fi |