summaryrefslogtreecommitdiff
path: root/extra/ntp/install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntp/install')
-rw-r--r--extra/ntp/install26
1 files changed, 0 insertions, 26 deletions
diff --git a/extra/ntp/install b/extra/ntp/install
index e6eddf8a4..1c4c4ee95 100644
--- a/extra/ntp/install
+++ b/extra/ntp/install
@@ -4,32 +4,6 @@ post_install() {
true
}
-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
- if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
- post_install
- fi
- if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
- chown -R ntp /var/lib/ntp
- fi
-}
-
post_remove() {
getent passwd ntp &>/dev/null && userdel ntp >/dev/null
getent group ntp &>/dev/null && groupdel ntp >/dev/null