mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +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 */
|
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user