mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user