mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
don't save conf-files to flash; use /media by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: 6649ac6438
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)
Origin message was:
------------------
- don't save conf-files to flash; use /media by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -106,7 +106,7 @@ int CKeybindSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
else if(actionKey == "savekeys") {
|
||||
CFileBrowser fileBrowser;
|
||||
fileBrowser.Dir_Mode = true;
|
||||
if (fileBrowser.exec("/var/tuxbox") == true) {
|
||||
if (fileBrowser.exec("/media") == true) {
|
||||
std::string fname = "keys.conf";
|
||||
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVEKEYS, &fname);
|
||||
sms->exec(NULL, "");
|
||||
|
@@ -89,7 +89,7 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
else if(actionKey == "saveconfig")
|
||||
{
|
||||
fileBrowser.Dir_Mode = true;
|
||||
if (fileBrowser.exec("/var/tuxbox") == true)
|
||||
if (fileBrowser.exec("/media") == true)
|
||||
{
|
||||
std::string fname = "neutrino.conf";
|
||||
CKeyboardInput * sms = new CKeyboardInput(LOCALE_EXTRA_SAVECONFIG, &fname);
|
||||
|
Reference in New Issue
Block a user