src/neutrino.cpp: fix execute rcK script

This commit is contained in:
Jacek Jendrzej
2013-04-10 11:59:48 +02:00
committed by [CST] Focus
parent e14043dbfb
commit 9fe2f83987

View File

@@ -2981,7 +2981,7 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
mode = mode_off; mode = mode_off;
//CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_MAINMENU_SHUTDOWN)); //CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_MAINMENU_SHUTDOWN));
my_system(2,"/etc/init.d/rcK"); my_system("/etc/init.d/rcK");
sync(); sync();
my_system(2,"/bin/umount", "-a"); my_system(2,"/bin/umount", "-a");
sleep(1); sleep(1);