mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 04:00:34 +02:00
#2859 increase swap to 4GB
This commit is contained in:
@@ -1506,7 +1506,7 @@ if [ "$1" = "swap" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
>&2 echo "# Creating SWAP file .."
|
>&2 echo "# Creating SWAP file .."
|
||||||
sudo dd if=/dev/zero of=$externalSwapPath count=2048 bs=1MiB 1>/dev/null
|
sudo dd if=/dev/zero of=$externalSwapPath count=4096 bs=1MiB 1>/dev/null
|
||||||
sudo chmod 0600 $externalSwapPath 1>/dev/null
|
sudo chmod 0600 $externalSwapPath 1>/dev/null
|
||||||
|
|
||||||
>&2 echo "# Activating new SWAP"
|
>&2 echo "# Activating new SWAP"
|
||||||
|
Reference in New Issue
Block a user