Gentoo Backend
- From: Steev <steev steev net>
- To: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Gentoo Backend
- Date: Sat, 06 Aug 2005 22:31:51 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Attached is a working patch to allow compilation with the new dialup
additions. I am still working on figuring out the best way to detect
the dialup devices on Gentoo, and also, Colin's patch for ncsd is in
this patch.
- -- Steev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFC9YCm1c+EtXTHkJcRAtWZAJ4ghI/WLYT/FSycgC9roUbmN1uS2ACfRPio
152Qd3PT2Rv6ADkO+ZoABzk=
=HvES
-----END PGP SIGNATURE-----
diff -urN NetworkManager.cvs/src/backends/NetworkManagerGentoo.c NetworkManager/src/backends/NetworkManagerGentoo.c
--- NetworkManager.cvs/src/backends/NetworkManagerGentoo.c 2005-08-06 22:26:40.000000000 -0500
+++ NetworkManager/src/backends/NetworkManagerGentoo.c 2005-08-06 22:29:28.000000000 -0500
@@ -229,7 +229,7 @@
void nm_system_update_dns (void)
{
#ifdef NM_NO_NAMED
- if (nm_spawn_process ("/etc/init.d/nscd status") != 0)
+ if (nm_spawn_process ("/etc/init.d/nscd status") == 0)
nm_spawn_process ("/etc/init.d/nscd restart");
#else
nm_spawn_process("/usr/sbin/killall -q nscd");
@@ -514,3 +514,24 @@
return TRUE;
}
+
+void nm_system_deactivate_all_dialup (GSList *list)
+{
+}
+
+gboolean nm_system_activate_dialup (GSList *list, const char *dialup)
+{
+ return FALSE;
+}
+
+/*
+ * nm_system_get_dialup_config
+ *
+ * Enumerate dial up options on this system, allocate NMDialUpConfig's,
+ * fill them out, and return.
+ *
+ */
+GSList * nm_system_get_dialup_config (void)
+{
+ return NULL;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]