diff --git a/update0.sh b/update0.sh index 10591cd..e78c222 100644 --- a/update0.sh +++ b/update0.sh @@ -1,5 +1,7 @@ #!/bin/bash +# tar -zcf - update1.sh Payload_SDK_V2.2.1_300tc ximeaControlDll ximeaAirborneSystem | openssl des3 -salt -k irishk******* | dd of=source.des3 + makeEmptyDIR() { if [ ! -e $1 ]; then @@ -24,7 +26,7 @@ updateSource=/media/nvme/300TC/update/source* boolSource=`ls -l $updateSource | wc -l` if [ ! $boolSource -eq 0 ] ; then temp=$(ls $updateSource) - dd if=$temp | openssl des3 -d -k 123456|tar zxf - -C $uncompressDir + dd if=$temp | openssl des3 -d -k irishk*******|tar zxf - -C $uncompressDir rm $updateSource cd $uncompressDir