mirror_frr/debianpkg
David Lamparter ea4d91bfba 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>
2018-12-06 23:05:48 +01:00
..
backports debian/tools: new init script 2018-12-06 23:05:48 +01:00
source debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
tests debianpkg, tools: Add fabricd to distribution scripts 2018-10-24 15:50:56 +02:00
.gitignore debianpkg: .gitignore += changelog 2018-02-07 13:13:46 -05:00
changelog.in debianpkg: Add Debian 9 Package support 2017-11-17 17:55:33 -08:00
compat debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
control build: rewrite readline/curses check 2018-10-19 13:14:10 +02:00
copyright debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr-dbg.lintian-overrides debianpkg: Suppress frr-dbg debug-file-with-no-debug-symbols warning 2017-11-20 19:42:59 -08:00
frr-doc.docs frr: improve README 2018-09-10 15:30:22 +00:00
frr-doc.info doc: change info file name from FRR -> frr 2018-02-22 12:27:12 -05:00
frr-doc.install debianpkg: update packaging for new docs 2018-02-16 15:44:59 -05:00
frr-doc.lintian-overrides debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr-pythontools.install debianpkg: Move frr-reload.py to frr-pythontools subpackage 2017-11-17 17:55:32 -08:00
frr.conf debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr.dirs debianpkg: Add yang files to packages 2018-10-27 16:16:12 -02:00
frr.docs debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr.install debianpkg: Add yang files to packages 2018-10-27 16:16:12 -02:00
frr.lintian-overrides debianpkg: Add additional lintian override for Ubuntu 18.04 2018-06-12 12:06:00 -07:00
frr.logrotate debianpkg, tools: Add fabricd to distribution scripts 2018-10-24 15:50:56 +02:00
frr.manpages debianpkg, tools: Add fabricd to distribution scripts 2018-10-24 15:50:56 +02:00
frr.pam debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr.postinst debianpkg: improve VTYSH_PAGER environment check 2018-05-11 00:03:23 +02:00
frr.postrm debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
frr.preinst debianpkg: Fix maintainer-script-should-not-use-recursive-chown-or-chmod 2018-03-27 07:05:47 -07:00
frr.prerm deb-based-distros: clean up leftover debconf references 2017-11-17 17:55:32 -08:00
README.Debian debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
README.Maintainer debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00
rules debian/tools: new init script 2018-12-06 23:05:48 +01:00
subdir.am debian/tools: new init script 2018-12-06 23:05:48 +01:00
watchfrr.rc debian->debianpkg: Move debian files from debian dir to debianpkg dir. 2017-11-17 17:55:30 -08:00

#
# To check if the patches still apply on new upstream versions:
#
for i in debian/patches/*.diff; do echo -e "#\n# $i\n#"; patch --fuzz=3 --dry-run -p1 < $i; done

#
# Filename transition from zebra to frr
#

Files that keep their names
	/usr/bin/vtysh

Files that got an -pj suffix
	/etc/default/zebra	-> /etc/frr/daemons.conf
	/etc/init.d/zebra	-> /etc/init.d/frr
	/etc/zebra/		-> /etc/frr/
	/usr/share/doc/zebra/	-> /usr/share/doc/frr/
	/var/log/zebra/		-> /var/log/frr/
	/var/run/ 		-> /var/run/frr/

Files that were moved
	/usr/sbin/*		-> /usr/lib/frr/