From f3aa09930cfeabce1811b0e0aed545ea46b32409 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 19:02:24 -0500 Subject: not sure sync is worthwhile --- instr-daemon.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/instr-daemon.c b/instr-daemon.c index 0b6bcc7..2b1c110 100644 --- a/instr-daemon.c +++ b/instr-daemon.c @@ -14,7 +14,6 @@ #include #include #include -#include #define STDIN_BUF_SIZE 1024 @@ -316,10 +315,6 @@ int main(int argc, char **argv) static gboolean periodic_poll (void) { if (bus_getpin (POWER_FAIL)) { - // tidy up filesystem - sync (); - - // shutdown system ("/usr/bin/systemctl poweroff"); } -- cgit