X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ntp-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=5acabc42e1f36e2ac60723e05035cc21e98a7a24;hp=592bb9029708f19733452ae4019383b6b363c4cf;hb=99da6a7477f3ecd453e3bac33770cd386a495387;hpb=7d22544ed1f532e6e73543387f1db40104315d68 diff --git a/debian/postinst b/debian/postinst index 592bb90..5acabc4 100755 --- a/debian/postinst +++ b/debian/postinst @@ -31,12 +31,6 @@ if [ -f /usr/share/doc/ntp-cn/ntp.conf.tmpl -a -f /etc/ntp.conf ]; then fi # restartaj sve -if [ -x /etc/init.d/ntp ]; then - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d ntp restart - else - /etc/init.d/ntp restart - fi -fi +invoke-rc.d ntp restart #DEBHELPER#