diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index ea86977a..e73b9b93 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -1002,6 +1002,8 @@ if [ -f /etc/apt/trusted.gpg.d/microsoft.gpg ]; then rm /etc/apt/trusted.gpg.d/microsoft.gpg fi +rm -rf /opt/download +mkdir -p /opt/download # Clean apt-cache apt-get clean diff --git a/setup/setup_device.sh b/setup/setup_device.sh index 3f0196aa..364f9cab 100755 --- a/setup/setup_device.sh +++ b/setup/setup_device.sh @@ -879,6 +879,12 @@ if [ $IS_ROCKPRO64 = 1 ]; then systemctl enable fan_control fi +# Random Cleanup +rm -rf /opt/download +mkdir -p /opt/download + +# Clean apt-cache +apt-get clean # Setup myNode Startup Script systemctl daemon-reload