From 8f196a8b3cb099620030715f19089ccb83f50817 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 25 Oct 2018 15:37:28 +0200 Subject: [PATCH] debianpkg: always install /etc/init.d/frr There is no point in making this conditional, systemd correctly prefers the service file over the init script when it is present. Also, people can install an init system that doesn't match their distribution and even change init systems on an installation. Signed-off-by: David Lamparter --- debianpkg/rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debianpkg/rules b/debianpkg/rules index d8c9b24e99..263dbfd209 100755 --- a/debianpkg/rules +++ b/debianpkg/rules @@ -160,9 +160,8 @@ override_dh_auto_install: # let dh_systemd_* and dh_installinit do their thing automatically ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),) cp tools/frr.service debian/frr.service -else - cp tools/frr debian/frr.init endif + cp tools/frr debian/frr.init # install config files mkdir -p debian/tmp/etc/frr/ -- 2.39.5