mirror of
https://github.com/Augustin-FL/building-pfsense-iso-from-source.git
synced 2025-05-29 06:27:21 +00:00
Add swap
This commit is contained in:
parent
7cd20d0a8b
commit
1033717fba
@ -95,6 +95,7 @@ dd if=/dev/zero of=/root/swap.bin bs=1M count=8192
|
|||||||
chmod 0600 /root/swap.bin
|
chmod 0600 /root/swap.bin
|
||||||
mdconfig -a -t vnode -f /root/swap.bin -u 0
|
mdconfig -a -t vnode -f /root/swap.bin -u 0
|
||||||
echo 'swapfile="/root/swap.bin"' >> /etc/rc.conf
|
echo 'swapfile="/root/swap.bin"' >> /etc/rc.conf
|
||||||
|
swapon /dev/md0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user