From c1177bc2dbcfba2aeaa9d06dd3ee9f0c5f74f271 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 c81c628e59e19229d73d9fc6aad1661af1ca0f13. It's not a good idea to call rcK inside a tool, that feeds the frontpanel only. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/fe05a517d93b9f9768de5afef46e40f8045c6721 Author: vanhofen Date: 2017-11-23 (Thu, 23 Nov 2017) ------------------ This commit was generated by Migit --- 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");