+ return(ret);
+}
+
+int saveconfig(void)
+{
+ struct cfvar *cv;
+
+ cfw2conf();
+ if((cv = cfwvalid()) != NULL) {
+ msgbox(GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, cv->vld->invmsg, cv->rname);
+ return(-1);
+ }
+ return(writeconfig());
+}
+
+/*
+void cb_cfw_hup_activate(GtkWidget *widget, gpointer uudata)
+{
+ hupserver(1);