From 8c3956a644a4983f5108802dc89662ebb4a1ebc1 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 20 Apr 2011 18:43:57 +0200 Subject: kexec done by fbgui --- src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 0e7957c..5f15d39 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,9 +167,16 @@ int main(int argc, char *argv[]) { else serialLocation = QString("/serial"); // tests + // save ip config location (file generated by uchpc) + if (confFileSettings.contains("default/ip_config")) + ipConfigFilePath = confFileSettings.value("default/ip_config").toString(); + //else + // ipConfigFilePath = QString("/tmp/ip_config"); + // print config qxtLog->debug() << "************* CONFIG INFO *************"; qxtLog->debug() << "configFilePath: " << configFilePath.toUtf8(); + qxtLog->debug() << "ipConfigFilePath:" << ipConfigFilePath.toUtf8(); qxtLog->debug() << "baseURL: " << baseURL.toString().toUtf8(); qxtLog->debug() << "downloadDir : " << downloadPath.toUtf8(); qxtLog->debug() << "trigger: " << fileToTriggerURL.toUtf8(); -- cgit v1.2.3-55-g7522