update Makefile.am for new debian-backend



hi,

to include the new files for the debian backend, small change
to Makefile.am. this patch also brings the dhclient call in line
with the redhat backend, adding "-lf /var/lib/dhcp/dhclient-%s.leases"

j
Index: src/Makefile.am
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/Makefile.am,v
retrieving revision 1.14
diff -u -r1.14 Makefile.am
--- src/Makefile.am	29 Oct 2004 20:24:34 -0000	1.14
+++ src/Makefile.am	11 Nov 2004 14:51:13 -0000
@@ -41,8 +41,9 @@
 		backends/NetworkManagerRedHat.c	\
 		backends/NetworkManagerSlackware.c	\
 		backends/shvar.c				\
-		backends/shvar.h
-
+		backends/shvar.h		\
+		backends/interface_parser.c	\
+		backends/interface_parser.h	
 
 NetworkManager_LDADD = $(NM_LIBS) $(IWLIB) backends/$(SYSTEM_BACKEND_FILE)
 if WITH_GCRYPT
Index: src/backends/NetworkManagerDebian.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/backends/NetworkManagerDebian.c,v
retrieving revision 1.9
diff -u -r1.9 NetworkManagerDebian.c
--- src/backends/NetworkManagerDebian.c	11 Nov 2004 02:24:04 -0000	1.9
+++ src/backends/NetworkManagerDebian.c	11 Nov 2004 14:51:14 -0000
@@ -76,11 +76,9 @@
 	 * (for example, bad WEP key so it can't actually talk to the AP).
 	 */
 	iface = nm_device_get_iface (dev);
-	buf = g_strdup_printf ("/sbin/dhclient -pf /var/run/dhclient-%s.pid %s\n",
-		               iface, iface);
-	printf("Running %s",buf);
+	buf = g_strdup_printf ("/sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-%s.leases -pf /var/run/dhclient-%s.pid -cf /etc/dhclient-%s.conf %s\n", iface, iface, iface, iface);
 	err = nm_spawn_process (buf);
-        g_free (buf);
+	g_free (buf);
 	return (err == 0);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]