diff --git a/scripts/firstrun b/scripts/firstrun index 4e622f65c..0bbb0bc2d 100644 --- a/scripts/firstrun +++ b/scripts/firstrun @@ -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