Ovisnost o init-system-helpers
[ntp-cn.git] / debian / postinst
index 592bb90..5acabc4 100755 (executable)
@@ -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#