thermferm/thermferm.c

changeset 597
93667d842c9b
parent 596
e3d3cde32847
child 605
e00f8ff4de9a
equal deleted inserted replaced
596:e3d3cde32847 597:93667d842c9b
997 } 997 }
998 } 998 }
999 999
1000 killconfig(); 1000 killconfig();
1001 syslog(LOG_NOTICE, "Finished, rc=%d", rc); 1001 syslog(LOG_NOTICE, "Finished, rc=%d", rc);
1002 if (debug)
1003 fprintf(stdout, "Finished, rc=%d\n", rc);
1002 return rc; 1004 return rc;
1003 } 1005 }
1004 1006
1005 1007
1006 1008
1117 syslog(LOG_NOTICE, "Starting unit `%s' in inactive state", unit->alias); 1119 syslog(LOG_NOTICE, "Starting unit `%s' in inactive state", unit->alias);
1118 } else { 1120 } else {
1119 syslog(LOG_NOTICE, "Starting unit `%s' in off state", unit->alias); 1121 syslog(LOG_NOTICE, "Starting unit `%s' in off state", unit->alias);
1120 } 1122 }
1121 } 1123 }
1122 printf("Units started\n");
1123 publishDBirthAll(); 1124 publishDBirthAll();
1124 printf("Birth all done\n");
1125 1125
1126 for (unit = Config.units; unit; unit = unit->next) { 1126 for (unit = Config.units; unit; unit = unit->next) {
1127 if (unit->mode != UNITMODE_OFF) { 1127 if (unit->mode != UNITMODE_OFF) {
1128 unit->event_msg = xstrcpy((char *)"Startup"); 1128 unit->event_msg = xstrcpy((char *)"Startup");
1129 publishDLog(unit); 1129 publishDLog(unit);

mercurial