How to set a swap file in a build

Hey peoples,

When i set a swap file in luci, where are these settings stored ..? Because i tried to set a swap file using swapon but get error message failed to swapon. But when i use luci it seems to set the swap file without a problem.. :thinking: Because i would like to set a swapfile in my build ..

OpenWrt uses uci for most system configuration, luci web interface just a web-based uci frontend.

see the "fstab" section here to set up swap


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.