chage password

This commit is contained in:
Tangchao
2023-06-11 17:50:29 +08:00
parent 348fdff5f9
commit 2dd249f722

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
# tar -zcf - update1.sh Payload_SDK_V2.2.1_300tc ximeaControlDll ximeaAirborneSystem | openssl des3 -salt -k irishk******* | dd of=source.des3
makeEmptyDIR() makeEmptyDIR()
{ {
if [ ! -e $1 ]; then if [ ! -e $1 ]; then
@ -24,7 +26,7 @@ updateSource=/media/nvme/300TC/update/source*
boolSource=`ls -l $updateSource | wc -l` boolSource=`ls -l $updateSource | wc -l`
if [ ! $boolSource -eq 0 ] ; then if [ ! $boolSource -eq 0 ] ; then
temp=$(ls $updateSource) 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 rm $updateSource
cd $uncompressDir cd $uncompressDir