mirror of
https://github.com/armbian/build.git
synced 2026-01-06 09:58:46 -08:00
Cosmetic fix
This commit is contained in:
@@ -48,7 +48,7 @@ chown root:root \$SWAPFILE
|
||||
chmod 0600 \$SWAPFILE
|
||||
mkswap \$SWAPFILE >/dev/null 2>&1
|
||||
swapon \$SWAPFILE >/dev/null 2>&1
|
||||
if ! grep -q swap /etc/fstab; then echo "\$SWAPFILE none swap sw 0 0" >> /etc/fstab; fi
|
||||
if ! grep -q swap /etc/fstab; then echo "\$SWAPFILE none swap sw 0 0" >> /etc/fstab; fi
|
||||
if ! grep -q swap /etc/sysctl.conf; then echo "vm.swappiness=0" >> /etc/sysctl.conf; fi
|
||||
echo -e "\n### [firstrun] Created 128MB emergency swap as \$SWAPFILE" >>${Log}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user