mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
neutrino.cpp: move mount hack before CFSMounter::automount
Origin commit data
------------------
Commit: 7e9f70d0ca
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-19 (Thu, 19 Apr 2012)
This commit is contained in:
@@ -1838,6 +1838,13 @@ TIMER_START();
|
|||||||
g_CamHandler = new CCAMMenuHandler();
|
g_CamHandler = new CCAMMenuHandler();
|
||||||
g_CamHandler->init();
|
g_CamHandler->init();
|
||||||
|
|
||||||
|
#ifndef ASSUME_MDEV
|
||||||
|
system("mkdir /media/sda1 2> /dev/null");
|
||||||
|
system("mount /media/sda1 2> /dev/null");
|
||||||
|
system("mkdir /media/sdb1 2> /dev/null");
|
||||||
|
system("mount /media/sdb1 2> /dev/null");
|
||||||
|
#endif
|
||||||
|
|
||||||
CFSMounter::automount();
|
CFSMounter::automount();
|
||||||
g_PluginList = new CPlugins;
|
g_PluginList = new CPlugins;
|
||||||
g_PluginList->setPluginDir(PLUGINDIR);
|
g_PluginList->setPluginDir(PLUGINDIR);
|
||||||
@@ -1876,13 +1883,6 @@ TIMER_START();
|
|||||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef ASSUME_MDEV
|
|
||||||
system("mkdir /media/sda1 2> /dev/null");
|
|
||||||
system("mount /media/sda1 2> /dev/null");
|
|
||||||
system("mkdir /media/sdb1 2> /dev/null");
|
|
||||||
system("mount /media/sdb1 2> /dev/null");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
CHDDDestExec * hdd = new CHDDDestExec();
|
CHDDDestExec * hdd = new CHDDDestExec();
|
||||||
hdd->exec(NULL, "");
|
hdd->exec(NULL, "");
|
||||||
delete hdd;
|
delete hdd;
|
||||||
|
Reference in New Issue
Block a user