Ubuntu Raspberry Pi: Limit swapoff

In this version, the swapoff is being run on the non-Pi system.  I did
not mean for people to disable their swap (even temporarily).

Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2021-10-29 23:49:11 -05:00
parent 0b7745ce87
commit 9e29f91e7f

View File

@@ -160,7 +160,9 @@ be deleted.
#. Ensure swap partitions are not in use::
sudo swapoff --all
swapon -v
# If a partition is in use from the SD card, disable it:
sudo swapoff THAT_PARTITION
#. Clear old ZFS labels::