mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 08:29:16 +00:00
Remove upgrade _copy file
This commit is contained in:
parent
bcb581a921
commit
76539365d3
|
@ -29,9 +29,9 @@ tar -xvf /tmp/mynode_release_latest.tar.gz -C /tmp/upgrade/
|
||||||
# Install files
|
# Install files
|
||||||
VERSION=$(cat /tmp/upgrade/out/rootfs_*/usr/share/mynode/version)
|
VERSION=$(cat /tmp/upgrade/out/rootfs_*/usr/share/mynode/version)
|
||||||
if [ $IS_X86 = 1 ]; then
|
if [ $IS_X86 = 1 ]; then
|
||||||
rsync -r -K /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > /home/admin/upgrade_logs/upgrade_log_${VERSION}_copy.txt 2>&1
|
rsync -r -K /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / 2>&1
|
||||||
else
|
else
|
||||||
cp -rf /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > /home/admin/upgrade_logs/upgrade_log_${VERSION}_copy.txt 2>&1
|
cp -rf /tmp/upgrade/out/rootfs_${DEVICE_TYPE}/* / > 2>&1
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
sync
|
sync
|
||||||
|
|
Loading…
Reference in New Issue
Block a user