mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
myconfig, configure option testing and fixing, monitor_fs()
This commit is contained in:
12
src/main.c
12
src/main.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user