mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-12 16:39:15 +00:00
Remove swap file on SD card
This commit is contained in:
parent
a37b23a90b
commit
8c3d4911fd
|
@ -405,6 +405,7 @@ fi
|
||||||
# Weird hacks
|
# Weird hacks
|
||||||
chmod +x /usr/bin/electrs || true # Once, a device didn't have the execute bit set for electrs
|
chmod +x /usr/bin/electrs || true # Once, a device didn't have the execute bit set for electrs
|
||||||
timedatectl set-ntp True || true # Make sure NTP is enabled for Tor and Bitcoin
|
timedatectl set-ntp True || true # Make sure NTP is enabled for Tor and Bitcoin
|
||||||
|
rm -f /var/swap || true # Remove old swap file to save SD card space
|
||||||
|
|
||||||
# Check for new versions
|
# Check for new versions
|
||||||
torify wget $LATEST_VERSION_URL -O /usr/share/mynode/latest_version || true
|
torify wget $LATEST_VERSION_URL -O /usr/share/mynode/latest_version || true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user