From 0522a83e3881c9c63a2af94c382957549194a1c7 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 5 Jul 2021 22:39:39 +0200 Subject: [PATCH] neutrino: rename standby flag (.ni-standby => .standby) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/bbc8408ea96e9bd6b797e71c151af30b65458f4d Author: vanhofen Date: 2021-07-05 (Mon, 05 Jul 2021) Origin message was: ------------------ - neutrino: rename standby flag (.ni-standby => .standby) --- src/neutrino.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 0b2017601..c26e98088 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -5056,8 +5056,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) lockStandbyCall = true; if( bOnOff ) { - //NI set standby flag - if ( FILE *f = fopen("/tmp/.ni-standby", "w") ) + // set standby flag + if (FILE *f = fopen("/tmp/.standby", "w")) fclose(f); #ifdef ENABLE_GRAPHLCD @@ -5220,9 +5220,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby ) InfoClock->enableInfoClock(true); InfoIcons->enableInfoIcons(true); //NI InfoIcons - //NI remove standby flag - if (access("/tmp/.ni-standby", F_OK) == 0) - unlink("/tmp/.ni-standby"); + // remove standby flag + if (access("/tmp/.standby", F_OK) == 0) + unlink("/tmp/.standby"); g_audioMute->AudioMute(current_muted, true); StartSubtitles();