[Firestarter-user] Wizard dhcp
Brought to you by:
majix
|
From: Rene V. <va...@st...> - 2004-04-26 22:17:47
|
Hi,
1) 0.9.3 and previous versions search "dhcpcd" client pid file from
/var/run/dhcpcd-*. Slackware keeps its pid in /etc/dhcpcd/dhcpcd-*.
Attached is a patch for slackware.
2) Does any linux distribution use "/etc/dhcpcd/" dir for dhcpcd client
files ?
slackware uses "/etc/dhcpc/". Maybe it is a typo ? If not, ignore the
diff, then
it needs a slackware specific patch.
Index: scriptwriter.c
===================================================================
RCS file: /cvs/gnome/firestarter/src/scriptwriter.c,v
retrieving revision 1.7
diff -u -r1.7 scriptwriter.c
--- scriptwriter.c 25 Apr 2004 10:57:12 -0000 1.7
+++ scriptwriter.c 26 Apr 2004 22:03:15 -0000
@@ -221,7 +221,7 @@
/* Most other distributions use DHCPCD */
} else if (dhcpcd_is_running ()) {
- gchar *path = g_strconcat ("/etc/dhcpcd/dhcpcd-",
+ gchar *path = g_strconcat ("/etc/dhcpc/dhcpcd-",
preferences_get_string
(PREFS_FW_EXT_IF),
".exe", NULL);
Regards,
rene
|