Create and enable a swapfile for devices with USB storage
Go to file
2023-06-08 17:39:16 -03:00
etc-init.d-swapfile Add 'etc-init.d-swapfile' 2023-06-08 17:39:16 -03:00
LICENSE Initial commit 2023-05-29 16:53:11 -03:00
README.md Update 'README.md' 2023-06-08 17:34:38 -03:00

swapfile

Create and enable a swapfile for devices with USB storage

The script must be copied into /etc/init.d/ and given execution permission chmod +x /etc/init.d/swapfile

The variable $SWPATH defines where the swapfile is located in the filesystem, so it must be changed accordingly

It's assumed that USB storage is already configured via opkg and fstab