X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fzfs.sh;h=4a707fabf34019a4a49c04086d85d5a1f728c93e;hb=da88a7fbe8876437c25f1006f91ca5595659b8d2;hp=523fbfcc0e02a5ea22a1000fefc223e6cd470929;hpb=c9c0d073da561bcbefbdf09c87fc75b227415619;p=zfs.git diff --git a/scripts/zfs.sh b/scripts/zfs.sh index 523fbfc..4a707fa 100755 --- a/scripts/zfs.sh +++ b/scripts/zfs.sh @@ -65,10 +65,12 @@ if [ $(id -u) != 0 ]; then fi if [ ${UNLOAD} ]; then + umount -t zfs -a unload_modules else check_modules || die "${ERROR}" load_modules "$@" + wait_udev /dev/zfs 30 fi exit 0