mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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();
|
||||
|
||||
#ifndef ASSUME_MDEV
|
||||
const char hddsda1[] = "/media/sda1";
|
||||
const char hddsdb1[] = "/media/sdb1";
|
||||
mkdir(hddsda1, 0755);
|
||||
mount("/dev/sda1", hddsda1, "ext3", 0, NULL);
|
||||
mkdir(hddsdb1,0755);
|
||||
mount("/dev/sdb1", hddsdb1, "ext3", 0, NULL);
|
||||
mkdir("/media/sda1", 0755);
|
||||
mkdir("/media/sdb1", 0755);
|
||||
my_system("mount", "/dev/sda1", "/media/sda1");
|
||||
my_system("mount", "/dev/sdb1", "/media/sdb1");
|
||||
#endif
|
||||
|
||||
CFSMounter::automount();
|
||||
|
Reference in New Issue
Block a user