From c25e02d599a5b99e050087ea9434cd527f0b2e1d Mon Sep 17 00:00:00 2001 From: fernao Date: Thu, 8 Jun 2023 17:34:38 -0300 Subject: [PATCH] Update 'README.md' --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7014566..13f51f2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # swapfile -Create and enable a swapfile for devices with USB storage \ No newline at end of file +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 \ No newline at end of file