In your case, based on what you described above, it seems that what you might need to do, to avoid similar problems in the future, is to stop the Entware services from the "/jffs/scripts/unmount" script as well.
For example:
Bash:#!/bin/sh # FILE: unmount # ... ... RC_UNSLUNG="${1}/entware/etc/init.d/rc.unslung" [ -x "$RC_UNSLUNG" ] && $RC_UNSLUNG stop ...
Thanks!
Currently, I do not have an unmount script at all! :-o
I just have a post-mount, with this content:
#!/bin/sh
. /jffs/addons/diversion/mount-entware.div /tmp/mnt/ASUS-480GB # Added by amtm
And a services-stop, with this content:
#!/bin/sh
/opt/etc/init.d/rc.unslung stop # Added by amtm
Should I create an unmount script too, with the same content as services-stop above?
(What I don't fully understand why the web admin UI's Eject (what does an unmount too) was working with EXT4+journaling file system and is not working now with EXT2 file system.
Everything else (entware, qBittorrent) was/is the same and all scripts were created by amtm.
So with EXT2 Asuswrt-Merlin+entware is not working as supposed, despite that it was working well with EXT4+journaling. EXT2 is less supported?)