diff --git a/lazy/auto_patch_Photos.sh b/lazy/auto_patch_Photos.sh index c972c47..886af5a 100644 --- a/lazy/auto_patch_Photos.sh +++ b/lazy/auto_patch_Photos.sh @@ -4,10 +4,10 @@ photo_version=$1 # download old pat for syno_extract_system_patch # thanks for jumkey's idea. -# mkdir synoesp +mkdir synoesp # curl --location https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat --output oldpat.tar.gz # tar -C ./synoesp/ -xf oldpat.tar.gz hda1.tgz -# cd synoesp +cd synoesp # # output=$(xz -dc < hda1.tgz 2>/dev/null | cpio -idm 2>&1) # @@ -15,7 +15,7 @@ photo_version=$1 # #ls ./usr/syno/ # echo "Start to extract synoarchive" # #ls ./usr/syno/sbin/ -# mkdir extract && cd extract +mkdir extract && cd extract # #ls # echo "cp file synoarchive" # cp -v ../usr/syno/sbin/synoarchive ./ diff --git a/lazy/auto_patch_SynoSDK.sh b/lazy/auto_patch_SynoSDK.sh index 9006369..187f619 100644 --- a/lazy/auto_patch_SynoSDK.sh +++ b/lazy/auto_patch_SynoSDK.sh @@ -6,13 +6,13 @@ os_main_version=$1 os_version=$2 ## download old pat for syno_extract_system_patch # thanks for jumkey's idea. -#mkdir synoesp +mkdir synoesp #curl --location https://global.download.synology.com/download/DSM/release/7.0.1/42218/DSM_DS3622xs%2B_42218.pat --output oldpat.tar.gz #tar -C ./synoesp/ -xf oldpat.tar.gz rd.gz -#cd synoesp +cd synoesp # #output=$(xz -dc < rd.gz 2>/dev/null | cpio -idm 2>&1) -#mkdir extract && cd extract +mkdir extract && cd extract #cp -v ../usr/lib/libcurl.so.4 ../usr/lib/libmbedcrypto.so.5 ../usr/lib/libmbedtls.so.13 ../usr/lib/libmbedx509.so.1 ../usr/lib/libmsgpackc.so.2 ../usr/lib/libsodium.so ../usr/lib/libsynocodesign-ng-virtual-junior-wins.so.7 ../usr/syno/bin/scemd ./ #ln -s scemd syno_extract_system_patch