diff --git a/configure.ac b/configure.ac index 0caf54f86..c896b6ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -63,9 +63,9 @@ 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])]) +AC_ARG_ENABLE(mdev, + [ --enable-mdev disable broken neutrino mount hack, use with mdev], + [AC_DEFINE(ASSUME_MDEV,1,[disable broken neutrino mount hack, use with mdev])]) # # Check for libtdservicedb - the new one - for testing only diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1ac335484..a5abdbeed 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2302,7 +2302,7 @@ int CNeutrinoApp::run(int argc, char **argv) saveSetup(NEUTRINO_SETTINGS_FILE); } -#ifdef ASSUME_NO_MDEV +#ifndef ASSUME_MDEV system("mkdir /media/sda1 2> /dev/null"); system("mount /media/sda1 2> /dev/null"); system("mkdir /media/sdb1 2> /dev/null");