mirror of
https://github.com/moparisthebest/pi-hole
synced 2024-11-29 12:32:19 -05:00
toggle test case for noswap
This commit is contained in:
parent
4a4db7ab56
commit
cfac2be334
@ -60,7 +60,7 @@ function createSwapFile()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if [[ -z "$noSwap" ]]; then
|
if [[ -n "$noSwap" ]]; then
|
||||||
# if $noSwap is set, don't do anything
|
# if $noSwap is set, don't do anything
|
||||||
:
|
:
|
||||||
elif [[ -f /etc/dphys-swapfile ]];then
|
elif [[ -f /etc/dphys-swapfile ]];then
|
||||||
|
Loading…
Reference in New Issue
Block a user