Jeffrey Young
Very Senior Member
@Jack Yaz
I have a small problem with ntpMerlin and cronmon. I am using an SSD drive on my AC86U that has multiple partitions on it (one for entware, one for a future swap partition and one that I am keeping NTFS).
Since I use Samba on the router, the router wants to auto-mount all three partitions at startup. That is fine. However, to keep all your start up scripts from trying to run with each partition that gets mounted, I test for the right mount point first (entware volume), and only run your start up scripts if the right mount point is passed (post-mount is called with one arg which is the mount point).
However, it looks like every 10 minutes ntpMerlin and cronmon checks post-mount and takes your script start entries and moves them from my test statement to the end of the post-mount script. Defeating what I am trying to do. Any easy way of getting this behavior to stop? Save manually messing with your script (I see where it is doing it).
Not a biggy as there seems to be no harm just letting your scripts complain when they are trying to start multiple times, but if I can avoid it, it would make me happy. Or maybe I am fussing over nothing.
It would make me even happier if the router would stop auto-mounting every partition it finds when Samba is being used just because it can, but I guess I can't have everything.
Cheers and good work.
I have a small problem with ntpMerlin and cronmon. I am using an SSD drive on my AC86U that has multiple partitions on it (one for entware, one for a future swap partition and one that I am keeping NTFS).
Since I use Samba on the router, the router wants to auto-mount all three partitions at startup. That is fine. However, to keep all your start up scripts from trying to run with each partition that gets mounted, I test for the right mount point first (entware volume), and only run your start up scripts if the right mount point is passed (post-mount is called with one arg which is the mount point).
However, it looks like every 10 minutes ntpMerlin and cronmon checks post-mount and takes your script start entries and moves them from my test statement to the end of the post-mount script. Defeating what I am trying to do. Any easy way of getting this behavior to stop? Save manually messing with your script (I see where it is doing it).
Not a biggy as there seems to be no harm just letting your scripts complain when they are trying to start multiple times, but if I can avoid it, it would make me happy. Or maybe I am fussing over nothing.
It would make me even happier if the router would stop auto-mounting every partition it finds when Samba is being used just because it can, but I guess I can't have everything.
Cheers and good work.