diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-06 19:46:00 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-06 19:46:00 (GMT) |
commit | f3b88a74a85c8a877dbdcb61ed10fcca9b012c47 (patch) | |
tree | 86d16099a487a4fc897ff51c2d2403792811c701 /abs/core/ntp/install | |
parent | ec63bf0b2aa743c007a46bb1587a5dbc0b5176a4 (diff) | |
download | linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.zip linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.gz linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.bz2 |
ntp: update to 4.2.8.p10
Diffstat (limited to 'abs/core/ntp/install')
-rw-r--r-- | abs/core/ntp/install | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/core/ntp/install b/abs/core/ntp/install deleted file mode 100644 index e6eddf8..0000000 --- a/abs/core/ntp/install +++ /dev/null @@ -1,37 +0,0 @@ -post_install() { - getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null - getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null - 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 - true -} |