]> git.proxmox.com Git - mirror_frr.git/commit
debian/tools: new init script
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 30 Nov 2018 20:40:39 +0000 (21:40 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Dec 2018 22:04:12 +0000 (23:04 +0100)
commit032652bf5bb17ae2457196cfc7bd6433934ec9e6
treed5d39a603dd12c4aa7919436c4accfa7bb2643f4
parenta0eccbf3c07d89cf22d56afb5db1a3ceb7edf3e7
debian/tools: new init script

This separates the init script used for the system (and called in the
systemd unit file) from the script that watchfrr uses to control
daemons.  Mixing these two caused the entire thing to become a rather
huge spaghetti mess.

Note that there is a behaviour change in that the new script always
starts zebra regardless of zebra_enable.

Side changes:
- Ubuntu 12.04 removed from backports since it doesn't work anyway
- zebra is always started regardless of zebra_enable.  To disable FRR,
  the entire init script should be disabled through policy.
- no-watchfrr operation is no longer supported by the scripts in the
  Debian packages.  (This is intentional.)

Signed-off-by: David Lamparter <equinox@diac24.net>
24 files changed:
configure.ac
debianpkg/backports/ubuntu12.04/debian/control [deleted file]
debianpkg/backports/ubuntu12.04/debian/frr.install [deleted symlink]
debianpkg/backports/ubuntu12.04/debian/frr.postinst [deleted symlink]
debianpkg/backports/ubuntu12.04/debian/frr.postrm [deleted symlink]
debianpkg/backports/ubuntu12.04/debian/rules [deleted file]
debianpkg/backports/ubuntu12.04/debian/source/format [deleted file]
debianpkg/backports/ubuntu12.04/exclude [deleted file]
debianpkg/backports/ubuntu12.04/versionext [deleted file]
debianpkg/backports/ubuntu14.04/debian/frr.install
debianpkg/backports/ubuntu14.04/debian/frr.postinst [deleted file]
debianpkg/backports/ubuntu14.04/debian/frr.postrm [deleted file]
debianpkg/backports/ubuntu14.04/debian/rules
debianpkg/rules
debianpkg/subdir.am
redhat/frr.spec.in
tools/.gitignore
tools/etc/frr/daemons
tools/etc/frr/daemons.conf
tools/frr.service
tools/frrcommon.sh.in [new file with mode: 0644]
tools/frrinit.sh.in [new file with mode: 0644]
tools/subdir.am
tools/watchfrr.sh.in [new file with mode: 0644]