svenhoefer

Untitled

Apr 17th, 2021
518
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×