mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
neutrino.cpp: revert mount at startup to system -
fs can be not only ext3 but different
This commit is contained in:
@@ -1858,12 +1858,10 @@ TIMER_START();
|
|||||||
g_CamHandler->init();
|
g_CamHandler->init();
|
||||||
|
|
||||||
#ifndef ASSUME_MDEV
|
#ifndef ASSUME_MDEV
|
||||||
const char hddsda1[] = "/media/sda1";
|
mkdir("/media/sda1", 0755);
|
||||||
const char hddsdb1[] = "/media/sdb1";
|
mkdir("/media/sdb1", 0755);
|
||||||
mkdir(hddsda1, 0755);
|
my_system("mount", "/dev/sda1", "/media/sda1");
|
||||||
mount("/dev/sda1", hddsda1, "ext3", 0, NULL);
|
my_system("mount", "/dev/sdb1", "/media/sdb1");
|
||||||
mkdir(hddsdb1,0755);
|
|
||||||
mount("/dev/sdb1", hddsdb1, "ext3", 0, NULL);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CFSMounter::automount();
|
CFSMounter::automount();
|
||||||
|
Reference in New Issue
Block a user