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