[HBT] Procd executes init scripts 9 times

Hi! I’m having a weird issue after upgrading to TOS6. I don’t know if it is related thus starting a new thread rather than spamming an existing one.

I noticed that some of my own init scripts are executed several times. Up to 9-11 times (the number of executions is different every time).

What I did to investigate:

  1. Disabled the script (/etc/init.d/script_name disable) - it is still executed
  2. Added another test script at the same level (25) and enabled it - the new script is not executed
  3. Added a preinit script to check the contents of /etc/rc.d/ before invoking procd - everything is in order

I am running out of ideas, actually.

Update: the test script seems to run, but doesn’t output anything.

I’ve switched filenames for the two scripts, now the first executes ones with no output and the test executes many times.
Something weird.

Found it!

It was called in a network hotplug script!

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