mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
hide mount hack behind a configure switch
the mount hack has nothing to do with coolstream hardware, but with broken userspace, thus hide it behind a configure switch git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1123 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -63,6 +63,10 @@ AC_ARG_ENABLE(restore-prev-mode,
|
||||
[ --enable-restore-prev-mode enable return from graphics mode],
|
||||
[AC_DEFINE(RETURN_FROM_GRAPHICS_MODE,1,[enable return from graphics mode])])
|
||||
|
||||
AC_ARG_ENABLE(broken-neutrino-mount-hack,
|
||||
[ --enable-broken-neutrino-mount-hack enable broken neutrino mount hack, don't use with mdev],
|
||||
[AC_DEFINE(ASSUME_NO_MDEV,1,[enable broken neutrino mount hack, don't use with mdev])])
|
||||
|
||||
#
|
||||
# Check for libtdservicedb - the new one - for testing only
|
||||
#
|
||||
|
@@ -2302,7 +2302,7 @@ int CNeutrinoApp::run(int argc, char **argv)
|
||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||
}
|
||||
|
||||
#ifdef HAVE_COOL_HARDWARE
|
||||
#ifdef ASSUME_NO_MDEV
|
||||
system("mkdir /media/sda1 2> /dev/null");
|
||||
system("mount /media/sda1 2> /dev/null");
|
||||
system("mkdir /media/sdb1 2> /dev/null");
|
||||
|
Reference in New Issue
Block a user