From 403aa9307d0c48a6575915ba137f37efd7ff1e5e Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Mon, 29 Oct 2007 23:46:17 +0000 Subject: [PATCH] r17: --- debian/changelog | 2 +- debian/postinst | 21 ++++++++------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/debian/changelog b/debian/changelog index b4dad8d..542b1d4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ntp-cn (2:4.2.2.p4-1) carnet-etch; urgency=low +ntp-cn (2:4.2.2.p4-1) stable; urgency=low * izdanje paketa za Etch * prva verzija sa source paketom diff --git a/debian/postinst b/debian/postinst index e0cc13c..0f3ecb6 100755 --- a/debian/postinst +++ b/debian/postinst @@ -14,9 +14,12 @@ konfiguriraj() { cp /usr/share/doc/ntp-cn/ntp.conf.tmpl /etc - cat > /etc/default/ntp-servers </dev/null && sleep 1 || break - done - invoke-rc.d ntp start + invoke-rc.d ntp restart else - /etc/init.d/ntp stop - for i in 1 2 3 4 5 6 7 8 9 0; do - pgrep -u root -f /usr/sbin/ntpd >/dev/null && sleep 1 || break - done - /etc/init.d/ntp start + /etc/init.d/ntp restart fi fi -- 1.7.10.4