Had some trouble today with swap.mod functionality.
My USB drive got corrupted, had to clean and deleted swap in the process intending to recreate fresh.
But every time I tried to recreate the swap file in AMTM it would get through selecting the size, then an error would flash on screen and disappear. Then script would return to AMTM main screen with a message that the swap had been created, when it had actually not been. In main screen swap was not 'seen' and listed.
So I tried a 256MB manual swap setup in same location (dd, mkswap, swapon, etc.) worked fine.
Opening AMTM after that, sees the swap file likes it says its there with correct size.
Deleted swap, tried AMTM sw again at 2GB, no love, again, an error screen flashes by.
Manually created again dd/mkswap/swapon at 2GB.
Worked fine also. Again start AMTM, sees swap file, all happy again.
So I'm "OK" but seems like something is broken in either my setup or error handling.
Some script error after running through the user inputs? Or something is getting an error and script neither pausing to be able to see it, or reading the result error and pausing/notifying?