mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 00:53:19 +00:00
Make the script more fork-friendly by replacing explicit download url with local definition.
This commit is contained in:
parent
d9aa19d2cd
commit
2774ce4658
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue