|
@@ -1,6 +1,6 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
set -e
|
|
set -e
|
|
-version=5.5
|
|
|
|
|
|
+version=6.0
|
|
date=26/12/2022
|
|
date=26/12/2022
|
|
pi7z_i=""
|
|
pi7z_i=""
|
|
swap_was="0"
|
|
swap_was="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=200
|
|
|
|
|
|
+split_size=350
|
|
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
|
|
@@ -214,7 +214,8 @@ echo -e "\n\e[95mPacking & Compressing Files :\e[0m"
|
|
cd /home/$USER
|
|
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 -v$split_size bootstrap .okcash/blk0001.dat .okcash/txleveldb/
|
|
sleep 1
|
|
sleep 1
|
|
echo "Done."
|
|
echo "Done."
|
|
|
|
|