diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2012-09-26 01:10:42 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:51:55 +0200 |
commit | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (patch) | |
tree | b428a16618e36ed864a8d76ea3435e19a452bf90 /source/n/dhcpcd/50-ntp.conf.diff | |
parent | 75a4a592e5ccda30715f93563d741b83e0dcf39e (diff) | |
download | current-9664bee729d487bcc0a0bc35859f8e13d5421c75.tar.gz current-9664bee729d487bcc0a0bc35859f8e13d5421c75.tar.xz |
Slackware 14.0slackware-14.0
Wed Sep 26 01:10:42 UTC 2012
Slackware 14.0 x86_64 stable is released!
We're perfectionists here at Slackware, so this release has been a long
time a-brewing. But we think you'll agree that it was worth the wait.
Slackware 14.0 combines modern components, ease of use, and flexible
configuration... our "KISS" philosophy demands it.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
Thanks to everyone who helped make this happen. The Slackware team, the
upstream developers, and (of course) the awesome Slackware user
community.
Have fun! :-)
Diffstat (limited to 'source/n/dhcpcd/50-ntp.conf.diff')
-rw-r--r-- | source/n/dhcpcd/50-ntp.conf.diff | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source/n/dhcpcd/50-ntp.conf.diff b/source/n/dhcpcd/50-ntp.conf.diff deleted file mode 100644 index 63fd914b4..000000000 --- a/source/n/dhcpcd/50-ntp.conf.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- ./dhcpcd-hooks/50-ntp.conf.orig 2010-11-19 04:17:14.000000000 -0600 -+++ ./dhcpcd-hooks/50-ntp.conf 2010-12-29 16:07:48.000000000 -0600 -@@ -8,6 +8,26 @@ - # NTP_CONF=/usr/pkg/etc/ntpd.conf - # to use openntpd from pkgsrc instead of the system provided ntp. - -+# Detect OpenRC, Debian or BSD rc -+# Distributions may want to just have their command here instead of this -+if type rc-service >/dev/null 2>&1 && rc-service --exists ntpd; then -+ ntpd_restart_cmd="rc-service ntpd -- -Ds restart" -+elif type invoke-rc.d >/dev/null 2>&1; then -+ if [ -x /etc/init.d/ntp ]; then -+ ntpd_restart_cmd="invoke-rc.d ntp try-restart" -+ fi -+ # Debian as a seperate file for DHCP config to avoid stamping on -+ # the master. -+ [ -e /var/lib/ntp ] || mkdir /var/lib/ntp -+ : ${NTP_DHCP_CONF:=/var/lib/ntp/ntp.conf.dhcp} -+elif [ -x /etc/rc.d/ntpd ]; then -+ ntpd_restart_cmd="/etc/rc.d/ntpd status >/dev/null 2>&1 && /etc/rc.d/ntpd restart" -+elif [ -x /usr/local/etc/rc.d/ntpd ]; then -+ ntpd_restart_cmd="/usr/local/etc/rc.d/ntpd status >/dev/null 2>&1 && /usr/local/etc/rc.d/ntpd restart" -+elif [ -x /etc/rc.d/rc.ntpd ]; then -+ ntpd_restart_cmd="/etc/rc.d/rc.ntpd status >/dev/null 2>&1 && /etc/rc.d/rc.ntpd restart" -+fi -+ - : ${ntpd_restart_cmd:=service_condcommand ntpd restart} - if type invoke-rc.d >/dev/null 2>&1; then - # Debian has a seperate file for DHCP config to avoid stamping on |