Displaying 2 results from an estimated 2 matches for "do_forceshutdown".
2005 Oct 23
0
FC4 + nut => shutdown sequence conundrum
...if (broken_driver) {
printf("Fatal error: broken driver. It probably needs to
be con\verted.\n");
printf("Search for 'broken_driver = 1' in the source for
more d\etails.\n");
exit(EXIT_FAILURE);
}
if (do_forceshutdown)
forceshutdown();
The call to setup_signals() does not reference any files in the statepath
directory.
memset() does not reference any files in the statepath directory
upsdrv_initups() does not reference any files in the statepath directory
... at least not for cyberpower.c nor...
2007 May 24
7
Debian package
...-hal.c:23:
dstate-hal.h:53: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'dbus_init_local'
main-hal.c:507:2: warning: "/*" within comment
main-hal.c: In function 'main':
main-hal.c:465: warning: unused variable 'do_forceshutdown'
main-hal.c:465: warning: unused variable 'i'
main-hal.c:463: warning: unused variable 'dbus_connection'
make[2]: *** [main-hal.o] Error 1
make[2]: Leaving directory `/home/dbely/nut-svn/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dbely/nu...