SOURCES: dhcpcd-ntp-path.patch - use condrestart for ypbind/ntp/op...
glen
glen at pld-linux.org
Mon Aug 27 22:28:02 CEST 2007
Author: glen Date: Mon Aug 27 20:28:02 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use condrestart for ypbind/ntp/openntp restart
---- Files affected:
SOURCES:
dhcpcd-ntp-path.patch (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SOURCES/dhcpcd-ntp-path.patch
diff -u SOURCES/dhcpcd-ntp-path.patch:1.6 SOURCES/dhcpcd-ntp-path.patch:1.7
--- SOURCES/dhcpcd-ntp-path.patch:1.6 Mon Aug 27 21:47:52 2007
+++ SOURCES/dhcpcd-ntp-path.patch Mon Aug 27 22:27:57 2007
@@ -1,6 +1,6 @@
---- dhcpcd-3.1.4/config.h-new 2007-08-19 17:07:43.126649947 +0200
-+++ dhcpcd-3.1.5/config.h 2007-08-27 22:43:51.614826538 +0300
-@@ -52,20 +52,20 @@
+--- dhcpcd-3.1.5/config.h 2007-08-27 22:43:51.614826538 +0300
++++ dhcpcd-3.1.5/config.h 2007-08-27 23:23:49.078758408 +0300
+@@ -52,21 +52,21 @@
#define RESOLVCONF "/sbin/resolvconf"
#define ETCDIR "/etc"
@@ -9,9 +9,10 @@
-#define NISFILE ETCDIR "/yp.conf"
-#define NISSERVICE ETCDIR "/init.d/ypbind"
+-#define NISRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
+#define NISFILE "/etc/yp.conf"
+#define NISSERVICE "/etc/rc.d/init.d/ypbind"
- #define NISRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
++#define NISRESTARTARGS "condrestart"
-#define NTPFILE ETCDIR "/ntp.conf"
-#define NTPDRIFTFILE ETCDIR "/ntp.drift"
@@ -19,13 +20,16 @@
+#define NTPDRIFTFILE "/etc/ntp/ntp.drift"
#define NTPLOGFILE "/var/log/ntp.log"
-#define NTPSERVICE ETCDIR "/init.d/ntpd"
+-#define NTPRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
+#define NTPSERVICE "/etc/rc.d/init.d/ntpd"
- #define NTPRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
++#define NTPRESTARTARGS "condrestart"
-#define OPENNTPFILE ETCDIR "/ntpd.conf"
-#define OPENNTPSERVICE ETCDIR "/init.d/ntpd"
+-#define OPENNTPRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
+#define OPENNTPFILE "/etc/ntpd/ntpd.conf"
+#define OPENNTPSERVICE "/etc/rc.d/init.d/ntpd"
- #define OPENNTPRESTARTARGS "--nodeps", "--quiet", "conditionalrestart"
++#define OPENNTPRESTARTARGS "condrestart"
#define DEFAULT_SCRIPT ETCDIR "/" PACKAGE ".sh"
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/dhcpcd-ntp-path.patch?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list