From 7690692c22ca0cd03cf8e239f9980f899af02cc0 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 23 Nov 2017 17:31:33 +0100 Subject: [PATCH] Revert "shutdown_helper: add calling '/etc/init.d/rcK'" This reverts commit cf52be07ee02ed0f6edf4d2a5d5867759b2d0d40. It's not a good idea to call rcK inside a tool, that feeds the frontpanel only. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/fe05a517d93b9f9768de5afef46e40f8045c6721 Author: vanhofen Date: 2017-11-23 (Thu, 23 Nov 2017) --- src/shutdown_helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/shutdown_helper.c b/src/shutdown_helper.c index 52acdfb93..55fb76739 100644 --- a/src/shutdown_helper.c +++ b/src/shutdown_helper.c @@ -55,8 +55,6 @@ int main(int argc, char **argv) fp.timer_minutes_hi = fp_timer >> 8;; fp.timer_minutes_lo = fp_timer & 0xFF; - system("/etc/init.d/rcK"); - fd = open("/dev/display", O_RDONLY); if (fd < 0) perror("/dev/display");