From 2774ce4658da237de8c2d098834cfbbf5c14765e Mon Sep 17 00:00:00 2001 From: Harri Kapanen Date: Sat, 31 Oct 2015 23:03:01 +0200 Subject: [PATCH] Make the script more fork-friendly by replacing explicit download url with local definition. --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index f1b7aea0..a09e6697 100755 --- a/gravity.sh +++ b/gravity.sh @@ -54,7 +54,7 @@ function createSwapFile() { echo "** Creating more swap space to accomodate large solar masses..." sudo dphys-swapfile swapoff - sudo curl -s -o /etc/dphys-swapfile https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/dphys-swapfile + sudo echo "CONF_SWAPSIZE=500" > /etc/dphys-swapfile sudo dphys-swapfile setup sudo dphys-swapfile swapon }