mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino: fix service restart item in usermenu
Origin commit data
------------------
Commit: 1f1b85a8b8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-06 (Wed, 06 Dec 2017)
Origin message was:
------------------
- neutrino: fix service restart item in usermenu
This commit is contained in:
@@ -4693,8 +4693,8 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
CHintBox hintbox(LOCALE_CAMD_CONTROL, LOCALE_CAMD_MSG_RESET);
|
||||
hintbox.paint();
|
||||
|
||||
printf("[neutrino.cpp] executing \"service emu restart\"\n");
|
||||
if (my_system(3, "service", "emu", "restart") != 0)
|
||||
printf("[neutrino.cpp] executing \"service camd restart\"\n");
|
||||
if (my_system(3, "service", "camd", "restart") != 0)
|
||||
printf("[neutrino.cpp] executing failed\n");
|
||||
sleep(1);
|
||||
|
||||
|
Reference in New Issue
Block a user