/[gentoo-x86]/net-misc/networkmanager/files/networkmanager-0.6.4-Gentoo-checklo.patch
Gentoo

Contents of /net-misc/networkmanager/files/networkmanager-0.6.4-Gentoo-checklo.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Feb 2 07:09:35 2008 UTC (6 years, 2 months ago) by steev
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old versions of NetworkManager, add a bump that works with libnl 1.1
(Portage version: 2.1.4.1)

1 diff -urN NetworkManager.cvs/src/backends/NetworkManagerGentoo.c NetworkManager/src/backends/NetworkManagerGentoo.c
2 --- NetworkManager.cvs/src/backends/NetworkManagerGentoo.c 2005-08-06 22:26:40.000000000 -0500
3 +++ NetworkManager/src/backends/NetworkManagerGentoo.c 2005-08-07 02:28:15.000000000 -0500
4 @@ -168,7 +168,9 @@
5 */
6 void nm_system_enable_loopback (void)
7 {
8 - nm_spawn_process("/etc/init.d/net.lo start");
9 + /* No need to run net.lo if it is already running */
10 + if (nm_spawn_process ("/etc/init.d/net.lo status") != 0)
11 + nm_spawn_process("/etc/init.d/net.lo start");
12 }
13

  ViewVC Help
Powered by ViewVC 1.1.20