]> git.puffer.fish Git - mirror/frr.git/commitdiff
debianpkg: always install /etc/init.d/frr
authorDavid Lamparter <equinox@diac24.net>
Thu, 25 Oct 2018 13:37:28 +0000 (15:37 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 19 Feb 2019 20:30:51 +0000 (21:30 +0100)
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 <equinox@diac24.net>
debianpkg/rules

index d8c9b24e99494b7cde3190c1daad5c73f0ed9900..263dbfd20998f683deab8f6295f462360e090363 100755 (executable)
@@ -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/