X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=etc%2Finit.d%2Fzfs.lunar;h=c77b2b7808967f43f008488fb7d434c67d73f319;hb=c8082367cfe9954f0e932fb1513b518d8b84022d;hp=4512151c2b664dd56aea176cee0596c08b4d8595;hpb=2a005961a48e748632e96272915192dab6ce9401;p=zfs.git diff --git a/etc/init.d/zfs.lunar b/etc/init.d/zfs.lunar index 4512151..c77b2b7 100644 --- a/etc/init.d/zfs.lunar +++ b/etc/init.d/zfs.lunar @@ -31,16 +31,16 @@ case $1 in # do, thus i'm not breaking here. fi - # mount the filesystems - while IFS= read -r -d $'\n' dev; do - mdev=$(echo "$dev" | awk '{ print $1; }') - echo -n "mounting $mdev..." - if `zfs mount $mdev`; then - echo -e "done"; - else - echo -e "failed"; - fi - done < <(zfs list -H); + # mount the filesystems + while IFS= read -r -d $'\n' dev; do + mdev=$(echo "$dev" | awk '{ print $1; }') + echo -n "mounting $mdev..." + if zfs mount $mdev; then + echo -e "done"; + else + echo -e "failed"; + fi + done < <(zfs list -H); ;; @@ -52,7 +52,7 @@ case $1 in while IFS= read -r -d $'\n' dev; do mdev=$(echo "$dev" | awk '{ print $1 }'); echo -n "umounting $mdev..."; - if `zfs umount $mdev`; then + if zfs umount $mdev; then echo -e "done"; else echo -e "failed";