Browse Source

update & final

wareck 2 months ago
parent
commit
68c6f210fd
1 changed files with 5 additions and 3 deletions
  1. 5 3
      upload_mega.sh

+ 5 - 3
upload_mega.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 version=6.0
-date=26/12/2022
+date=24/08/2024
 pi7z_i=""
 swap_was="0"
 ftp_i=0
@@ -9,7 +9,7 @@ pv_i=0
 cifs_i=0
 retry_flag=0
 daemon_on=0
-split_size=270
+split_size=1024
 OSV=$(sed 's/\..*//' /etc/debian_version)
 DietPi_="NO"
 if [ $OSV = 8 ];then img_v="Jessie";fi
@@ -215,7 +215,9 @@ cd /home/$USER
 echo -e "\e[97mCompress & split bootstrap.7z:\e[0m"
 split_size="${split_size}m"
 #7z a -m0=lzma -mx9 -mfb=64 -md32m -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
-7z a -mx7 -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
+#7z a -mx7 -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
+7z a -m0=lzma2 -mx=7 -mfb=64 -md=32m -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
+
 sleep 1
 echo "Done."