|
@@ -1,7 +1,7 @@
|
|
|
#!/bin/bash
|
|
|
set -e
|
|
|
-version=6.0
|
|
|
-date=24/08/2024
|
|
|
+version=7.0.Final
|
|
|
+date=25/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=1024
|
|
|
+split_size=512
|
|
|
OSV=$(sed 's/\..*//' /etc/debian_version)
|
|
|
DietPi_="NO"
|
|
|
if [ $OSV = 8 ];then img_v="Jessie";fi
|
|
@@ -216,7 +216,7 @@ 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 -m0=lzma2 -mx=7 -mfb=64 -md=32m -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/blk0002.dat .okcash/txleveldb/
|
|
|
|
|
|
sleep 1
|
|
|
echo "Done."
|