diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2007-12-04 18:07:37 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2007-12-04 18:07:37 -0800 |
commit | be1a6170451eaf42f525783ff9bc8156bade7150 (patch) | |
tree | 112d580863a92a68e3f56d18c1595b1ab9257157 /debian | |
parent | 4555c3ed0f6a6256d60ad6a0337984da54cffa00 (diff) | |
download | vyatta-cfg-quagga-be1a6170451eaf42f525783ff9bc8156bade7150.tar.gz vyatta-cfg-quagga-be1a6170451eaf42f525783ff9bc8156bade7150.zip |
- Only start supported daemons (zebra, ripd, ospfd, bgpd)
- Add temporary version file
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 9 |
1 files changed, 8 insertions, 1 deletions
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 |