mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
neutrino.cpp: revert mount at startup to system -
fs can be not only ext3 but different
Origin commit data
------------------
Branch: ni/coolstream
Commit: c77138f260
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-12-04 (Tue, 04 Dec 2012)
------------------
This commit was generated by Migit
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