summaryrefslogtreecommitdiff
path: root/testing/ntp/install
blob: 926b4126e2b7bf29daa79fdd1beb00ff9ec52025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}