src/neutrino.cpp: fix execute rcK script

This commit is contained in:
Jacek Jendrzej
2013-04-10 11:59:48 +02:00
parent ca9b85b3f5
commit f5297f06d9

View File

@@ -2945,7 +2945,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);