From c6e3c167f07a35ad1e53c5711451f82b7df62877 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 5 May 2015 14:46:46 +0200 Subject: [PATCH] plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins) Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/75f84739a587f83cf2d9fb5fcfcac4dc1dad68c9 Author: vanhofen Date: 2015-05-05 (Tue, 05 May 2015) Origin message was: ------------------ - plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins) --- src/gui/plugins.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index a7dffe0d0..858e43a79 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -75,7 +75,7 @@ extern CPlugins * g_PluginList; /* neutrino.cpp */ extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */ #define PLUGINDIR_VAR "/var/tuxbox/plugins" -#define PLUGINDIR_USB "/mnt/usb/tuxbox/plugins" +#define PLUGINDIR_MNT "/mnt/plugins" CPlugins::CPlugins() { @@ -160,7 +160,7 @@ void CPlugins::loadPlugins() sindex = 100; scanDir(GAMESDIR); scanDir(g_settings.plugin_hdd_dir.c_str()); - scanDir(PLUGINDIR_USB); + scanDir(PLUGINDIR_MNT); scanDir(PLUGINDIR_VAR); scanDir(PLUGINDIR);