Hi,
I have set up a swap partition on a drive attached to the USB3 port of my AC68U which I would like to be enabled when the router is booted. I have added the following lines to the end of the services-start script:
swapon UUID="<swap partition UUID>"
echo 20 > /proc/sys/vm/swappiness
but neither of the above commands seem to be executed as swapping is not enabled and swappiness is not updated. Executing the commands manually works.
Any ideas as to what the problem is?
Thanks!
I have set up a swap partition on a drive attached to the USB3 port of my AC68U which I would like to be enabled when the router is booted. I have added the following lines to the end of the services-start script:
swapon UUID="<swap partition UUID>"
echo 20 > /proc/sys/vm/swappiness
but neither of the above commands seem to be executed as swapping is not enabled and swappiness is not updated. Executing the commands manually works.
Any ideas as to what the problem is?
Thanks!