From be1a6170451eaf42f525783ff9bc8156bade7150 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 4 Dec 2007 18:07:37 -0800 Subject: - Only start supported daemons (zebra, ripd, ospfd, bgpd) - Add temporary version file --- debian/vyatta-cfg-system.postinst.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index a29f3371..331422c2 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -52,7 +52,11 @@ if [ "$sysconfdir" != "/etc" ]; then rm /etc/logrotate.d/*.vyatta-save >& /dev/null # quagga/daemons - sed 's/=no/=yes/' /etc/quagga/daemons.vyatta-save > /etc/quagga/daemons + sed 's/zebra=no/zebra=yes/' /etc/quagga/daemons.vyatta-save > /etc/quagga/daemons + sed -i 's/bgpd=no/bgpd=yes/' /etc/quagga/daemons + sed -i 's/ospfd=no/ospfd=yes/' /etc/quagga/daemons + sed -i 's/ripd=no/ripd=yes/' /etc/quagga/daemons + echo "log syslog warnings" >> /etc/quagga/bgpd.conf echo "log syslog warnings" >> /etc/quagga/isisd.conf echo "log syslog warnings" >> /etc/quagga/ospf6d.conf @@ -60,6 +64,9 @@ if [ "$sysconfdir" != "/etc" ]; then echo "log syslog warnings" >> /etc/quagga/ripd.conf echo "log syslog warnings" >> /etc/quagga/ripngd.conf echo "log syslog warnings" >> /etc/quagga/zebra.conf + + # add temporary version + echo "Version : eureka (beta)" > $sysconfdir/version fi # update crontab for logrotate -- cgit v1.2.3