summaryrefslogtreecommitdiff
path: root/testing/ntp/install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-27 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2011-12-27 23:14:54 +0000
commitb3288f94e625603d6b5b23740b721287e75eead7 (patch)
treeeff707b86ebe69b25cbd9f7b6549e7d8d76f4e46 /testing/ntp/install
parent342100843ef3e4379443c526403fac1b1cb6416a (diff)
Tue Dec 27 23:14:54 UTC 2011
Diffstat (limited to 'testing/ntp/install')
-rw-r--r--testing/ntp/install19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/ntp/install b/testing/ntp/install
new file mode 100644
index 000000000..926b4126e
--- /dev/null
+++ b/testing/ntp/install
@@ -0,0 +1,19 @@
+post_upgrade() {
+ if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
+ cat <<EOF
+
+==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
+==> If you made changes to the former, please update the latter.
+
+EOF
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
+ cat <<EOF
+
+==> The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
+==> and the new rc.d script only takes the latter into account.
+==> To stop your old ntpd process, please kill it manually.
+
+EOF
+ fi
+}