Hi! I am following this guide to set my USB drive ready for a swap file and some scripts (Diversion is main objective)
I would like to understand how amtm addon manages scripts, so I found pre-mount & post-mount folders within jffs folder.
My current config runs Disk Check at pre-mount and then set Swap File at post-mount. No other scripts installed by now.
My question is about how the pre-mount script is run first and then pre-mount does. In other words, "who" is managing the order of execution? Merlin Firmware or amtm itself ?
The point is that I would like to understand what is happening during boot so I would know a wayback to a previous state where no scripts (pre, post) where called and the USB device was not a player in my config.
Thanks!!
I would like to understand how amtm addon manages scripts, so I found pre-mount & post-mount folders within jffs folder.
My current config runs Disk Check at pre-mount and then set Swap File at post-mount. No other scripts installed by now.
My question is about how the pre-mount script is run first and then pre-mount does. In other words, "who" is managing the order of execution? Merlin Firmware or amtm itself ?
The point is that I would like to understand what is happening during boot so I would know a wayback to a previous state where no scripts (pre, post) where called and the USB device was not a player in my config.
Thanks!!