|
|
@@ -21,14 +21,14 @@ function updateSpecialVer() {
|
|
|
mkdir -p upmtpgo
|
|
|
cd upmtpgo
|
|
|
wget -c http://192.168.30.153/share/build/mtp2.0_release/$filename
|
|
|
- rm -rf MTP20Access
|
|
|
- unzip $filename -d MTP20Access
|
|
|
- cp ../config.yaml ./MTP20Access/config.yaml
|
|
|
- cp -rf ./MTP20Access/* ../
|
|
|
+ rm -rf mtp2_access_go
|
|
|
+ unzip $filename -d mtp2_access_go
|
|
|
+ cp ../config.yaml ./mtp2_access_go/config.yaml
|
|
|
+ cp -rf ./mtp2_access_go/* ../
|
|
|
cd ..
|
|
|
rm -rf upmtpgo
|
|
|
- pkill MTP20Access
|
|
|
- nohup `pwd`/MTP20Access &
|
|
|
+ pkill access_go
|
|
|
+ nohup `pwd`/access_go &
|
|
|
rm -f ./update.sh
|
|
|
rm -f console
|
|
|
}
|