Advertisement
svenhoefer

Untitled

Apr 17th, 2021
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.83 KB | None | 0 0
  1. diff --git a/scripts-sh/plugins/imgbackup/imgbackup b/scripts-sh/plugins/imgbackup/imgbackup
  2. index 7435dd3..76c7e80 100644
  3. --- a/scripts-sh/plugins/imgbackup/imgbackup
  4. +++ b/scripts-sh/plugins/imgbackup/imgbackup
  5. @@ -414,11 +414,9 @@ r_backup()
  6.         fi
  7.  
  8.         echo
  9. -       echo "  Erstelle 'rootfs${multipart}.tar'..."
  10. -       tar -cf "$save_path"/rootfs${multipart}.tar -C $tmproot ./ 2> /dev/null
  11. -       echo "  Packe 'rootfs${multipart}.tar' zu rootfs${multipart}.tar.bz2'..."
  12. +       echo "  Erstelle 'rootfs${multipart}.tar.bz2'..."
  13.         echo "  Dauer ca. 2-10 Minuten (je nach Imagegröße)..."
  14. -       $bz2 "$save_path"/rootfs${multipart}.tar
  15. +       tar -cjf "$save_path"/rootfs${multipart}.tar.bz2 -C $tmproot ./ 2> /dev/null
  16.  
  17.         umount -f $tmproot
  18.         [ -z "$(mount | grep $tmproot)" ] && rmdir $tmproot
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement