- plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)

This commit is contained in:
svenhoefer
2015-05-05 14:46:46 +02:00
parent 14dc610a68
commit 75f84739a5

View File

@@ -75,7 +75,7 @@ extern CPlugins * g_PluginList; /* neutrino.cpp */
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */ extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
#define PLUGINDIR_VAR "/var/tuxbox/plugins" #define PLUGINDIR_VAR "/var/tuxbox/plugins"
#define PLUGINDIR_USB "/mnt/usb/tuxbox/plugins" #define PLUGINDIR_MNT "/mnt/plugins"
CPlugins::CPlugins() CPlugins::CPlugins()
{ {
@@ -160,7 +160,7 @@ void CPlugins::loadPlugins()
sindex = 100; sindex = 100;
scanDir(GAMESDIR); scanDir(GAMESDIR);
scanDir(g_settings.plugin_hdd_dir.c_str()); scanDir(g_settings.plugin_hdd_dir.c_str());
scanDir(PLUGINDIR_USB); scanDir(PLUGINDIR_MNT);
scanDir(PLUGINDIR_VAR); scanDir(PLUGINDIR_VAR);
scanDir(PLUGINDIR); scanDir(PLUGINDIR);