mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
settings_manager: remove NI code around backup_sh
Origin commit data
------------------
Branch: ni/coolstream
Commit: 533302b8c1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Origin message was:
------------------
- settings_manager: remove NI code around backup_sh
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -117,17 +117,11 @@ int CSettingsManager::exec(CMenuTarget* parent, const std::string &actionKey)
|
|||||||
//NI
|
//NI
|
||||||
CHintBox * hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SETTINGS_BACKUP));
|
CHintBox * hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SETTINGS_BACKUP));
|
||||||
hintBox->paint();
|
hintBox->paint();
|
||||||
std::string fname = (std::string)"/bin/backup.sh " + fileBrowser.getSelectedFile()->Name;
|
const char backup_sh[] = "/bin/backup.sh";
|
||||||
printf("backup: executing [%s]\n", fname.c_str());
|
printf("backup: executing [%s %s]\n", backup_sh, fileBrowser.getSelectedFile()->Name.c_str());
|
||||||
my_system(2, "/bin/backup.sh", fileBrowser.getSelectedFile()->Name.c_str());
|
my_system(2, backup_sh, fileBrowser.getSelectedFile()->Name.c_str());
|
||||||
hintBox->hide();
|
hintBox->hide();
|
||||||
delete hintBox;
|
delete hintBox;
|
||||||
//NI
|
|
||||||
#if 0
|
|
||||||
const char backup_sh[] = "/bin/backup.sh";
|
|
||||||
printf("backup: executing [%s %s]\n",backup_sh, fileBrowser.getSelectedFile()->Name.c_str());
|
|
||||||
my_system(2, backup_sh, fileBrowser.getSelectedFile()->Name.c_str());*/
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ShowMsg(LOCALE_MESSAGEBOX_ERROR, g_Locale->getText(LOCALE_SETTINGS_BACKUP_FAILED),CMsgBox::mbrBack, CMsgBox::mbBack, NEUTRINO_ICON_ERROR);
|
ShowMsg(LOCALE_MESSAGEBOX_ERROR, g_Locale->getText(LOCALE_SETTINGS_BACKUP_FAILED),CMsgBox::mbrBack, CMsgBox::mbBack, NEUTRINO_ICON_ERROR);
|
||||||
|
Reference in New Issue
Block a user