#include "main.h" /* self */
#include "ui-line.h"
#include "network.h"
+#include "configuration.h"
#ifdef HAVE_GNOME
#include "ui-gnome.h"
bindtextdomain(PACKAGE,LOCALEDIR);
textdomain(PACKAGE);
+ /* Read it before the command-line parsing to get the default value
+ * of 'optarg_port' displayable by 'POPT_ARGFLAG_SHOW_DEFAULT'.
+ */
+ configuration_read();
+
if (argv[1] && !strcmp(argv[1],"--text"))
optarg_text=1;
NULL);
else {
no_gnome=TRUE;
- /* No message: (captive-install-acquire:3693): Gtk-WARNING **: cannot open display:
+ /* No message: (udpgate:3693): Gtk-WARNING **: cannot open display:
* was reported, probably only '--help' message was shown.
*/
if (!gnome_init_g_log_handler_hit)
else
(*ui_interactive)();
+ configuration_write();
+
return EXIT_SUCCESS;
}