mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- lcd4l: start/stop daemon with start/stop functions
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -193,6 +193,8 @@ void CLCD4l::StartLCD4l()
|
|||||||
pthread_detach(thrLCD4l);
|
pthread_detach(thrLCD4l);
|
||||||
lcd4linux(true);
|
lcd4linux(true);
|
||||||
}
|
}
|
||||||
|
if (g_settings.lcd4l_support)
|
||||||
|
exec_initscript("lcd4linux", "start");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLCD4l::StopLCD4l()
|
void CLCD4l::StopLCD4l()
|
||||||
@@ -204,6 +206,7 @@ void CLCD4l::StopLCD4l()
|
|||||||
thrLCD4l = 0;
|
thrLCD4l = 0;
|
||||||
lcd4linux(false);
|
lcd4linux(false);
|
||||||
}
|
}
|
||||||
|
exec_initscript("lcd4linux", "stop");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CLCD4l::SwitchLCD4l()
|
void CLCD4l::SwitchLCD4l()
|
||||||
|
Reference in New Issue
Block a user