]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Use --nodeps when restarting services
authorRoy Marples <roy@marples.name>
Mon, 30 Jul 2007 12:45:31 +0000 (12:45 +0000)
committerRoy Marples <roy@marples.name>
Mon, 30 Jul 2007 12:45:31 +0000 (12:45 +0000)
ChangeLog
config.h

index 41dbcd97a71109eb2b5e53ba3d8a8cf208d022d0..23d7f91a86f3cc23aa17c0d4e56a4ace86de6e3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+Use --nodeps when restarting services.
 Simply CIDR calculation, thanks to Francois-Xavier Le Bail.
 Don't free the dhcp object on RENEW (fixes a segfault).
 
index 00155492c890335ea8d3607c1598eb07a0d517e2..4d3ee0b67259b5c0f4a66bd3de324cc51196a1c6 100644 (file)
--- a/config.h
+++ b/config.h
@@ -43,7 +43,9 @@
  * See RFC 3315 for details on this. */
 #define ENABLE_DUID
 
-/* Packname name and pathname definitions */
+/* Packname name and pathname definitions.
+ * NOTE: The service restart commands are Gentoo specific and will
+ * probably need to be adapted for your OS. */
 
 #define PACKAGE             "dhcpcd"
 
 
 #define NISFILE             ETCDIR "/yp.conf"
 #define NISSERVICE          ETCDIR "/init.d/ypbind"
-#define NISRESTARTARGS      "--quiet", "conditionalrestart"
+#define NISRESTARTARGS      "--nodeps", "--quiet", "conditionalrestart"
 
 #define NTPFILE             ETCDIR "/ntp.conf"
 #define NTPDRIFTFILE        ETCDIR "/ntp.drift"
 #define NTPLOGFILE          "/var/log/ntp.log"
 #define NTPSERVICE          ETCDIR "/init.d/ntpd"
-#define NTPRESTARTARGS      "--quiet", "conditionalrestart"
+#define NTPRESTARTARGS      "--nodeps", "--quiet", "conditionalrestart"
 
 #define OPENNTPFILE         ETCDIR "/ntpd.conf"
 #define OPENNTPSERVICE      ETCDIR "/init.d/ntpd"
-#define OPENNTPRESTARTARGS  "--quiet", "conditionalrestart"
+#define OPENNTPRESTARTARGS  "--nodeps", "--quiet", "conditionalrestart"
 
 #define DEFAULT_SCRIPT      ETCDIR "/" PACKAGE ".sh"