diff options
Diffstat (limited to 'contrib/dracut/90zfs/parse-zfs.sh.in')
-rwxr-xr-x | contrib/dracut/90zfs/parse-zfs.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in index 0f92f5c80..724c5e2c6 100755 --- a/contrib/dracut/90zfs/parse-zfs.sh.in +++ b/contrib/dracut/90zfs/parse-zfs.sh.in @@ -49,11 +49,14 @@ case "${root}" in info "ZFS: Set ${root} as bootfs." ;; + + *) + info "ZFS: no ZFS-on-root" esac # Make sure Dracut is happy that we have a root and will wait for ZFS # modules to settle before mounting. -if [ ${wait_for_zfs} -eq 1 ]; then +if [ "${wait_for_zfs}" -eq 1 ]; then ln -s /dev/null /dev/root 2>/dev/null initqueuedir="${hookdir}/initqueue/finished" test -d "${initqueuedir}" || { |