Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=323c0c8a08efe5a85305538f21f9b86015fabfaf

commit 323c0c8a08efe5a85305538f21f9b86015fabfaf
Author: Elentir <elen...@mailoo.org>
Date:   Tue Jan 19 19:56:45 2010 +0100

configsource: use fw_system instead of fw_system_interactive for netconfig

diff --git a/src/plugins/configsource.c b/src/plugins/configsource.c
index 012c9ad..c04659b 100644
--- a/src/plugins/configsource.c
+++ b/src/plugins/configsource.c
@@ -995,7 +995,7 @@ int post_net_config(fwnet_profile_t *newprofile, 
fwnet_interface_t *interface)

char *host = strdup("frugalware");
fwnet_writeconfig(newprofile, host);
-       fw_system_interactive("netconfig start");
+       fw_system("netconfig start");
free(host);

if(is_connected("www.google.org", 80, 5) < 1) {
@@ -1003,7 +1003,7 @@ int post_net_config(fwnet_profile_t *newprofile, 
fwnet_interface_t *interface)
if(ret == GTK_RESPONSE_YES) {
return 0;
} else {
-                       fw_system_interactive("netconfig stop");
+                       fw_system("netconfig stop");
return -1;
}
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to