mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/start_wizard.cpp: copy initial settings using CONFIGDIR
Origin commit data
------------------
Commit: 6804d18d1c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-29 (Tue, 29 Jan 2013)
This commit is contained in:
@@ -107,7 +107,7 @@ int CStartUpWizard::exec(CMenuTarget* parent, const string & /*actionKey*/)
|
||||
{
|
||||
if (ShowMsgUTF(LOCALE_WIZARD_INITIAL_SETTINGS, g_Locale->getText(LOCALE_WIZARD_INSTALL_SETTINGS),
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrYes) {
|
||||
system("/bin/cp /var/tuxbox/config/initial/* /var/tuxbox/config/zapit/");
|
||||
system("/bin/cp " CONFIGDIR "/initial/* " CONFIGDIR "/zapit/");
|
||||
CFEManager::getInstance()->loadSettings();
|
||||
CFEManager::getInstance()->saveSettings();
|
||||
CZapit::getInstance()->PrepareChannels();
|
||||
|
Reference in New Issue
Block a user