Skip to content

Commit

Permalink
Update install-on-macbook-with-opencore-parallel.md
Browse files Browse the repository at this point in the history
Исправление скрипта создания Swap-a
  • Loading branch information
iDevPro committed Jan 24, 2024
1 parent 00358e8 commit 902169e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/system/install-on-macbook-with-opencore-parallel.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

```shell
su -
dd if=/dev/zero of=/swapfile bs=1m count=`free -m | awk 'NR==2 {print $2}'` # создаст своп размером с оперативную память :)
dd if=/dev/zero of=/swapfile bs=1M count=`free -m | awk 'NR==2 {print $2}'` # создаст своп размером с оперативную память :)
chmod 600 /swapfile
mkswap /swapfile
echo "/swapfile nonw swap defaults 0 0" >> /etc/fstab # важно >>
Expand Down

0 comments on commit 902169e

Please sign in to comment.