mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75f84739a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)
Origin message was:
------------------
- plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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