myconfig, configure option testing and fixing, monitor_fs()

This commit is contained in:
joonicks
2018-04-15 03:57:44 +02:00
parent db4842c42e
commit 5f0fdada3e
26 changed files with 462 additions and 264 deletions

View File

@@ -517,6 +517,10 @@ mainloop:
select_bounce();
#endif /* BOUNCE */
#ifdef HOSTINFO
select_monitor();
#endif
/*
* unset here, reset if needed in bot loop
*/
@@ -790,6 +794,10 @@ restart_die:
process_web();
#endif /* WEB */
#ifdef HOSTINFO
process_monitor();
#endif
#ifdef TRIVIA
trivia_tick();
#endif /* TRIVIA */
@@ -1134,6 +1142,10 @@ int main(int argc, char **argv, char **envp)
#endif /* DEBUG */
}
#ifdef HOSTINFO
monitor_fs(executable);
#endif
if (startup == 666)
exit(0);
startup = FALSE;