summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 18:48:35 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 18:48:35 -0800
commita42b9776af35929a1de00940fdf24337b028230e (patch)
treef1bb4a0496a9da16e6dc832441e81bf7ab825f28
parent431aad88a4f51ff07148f9768c4e85f9bec32a34 (diff)
parentbe1a6170451eaf42f525783ff9bc8156bade7150 (diff)
downloadvyatta-cfg-system-a42b9776af35929a1de00940fdf24337b028230e.tar.gz
vyatta-cfg-system-a42b9776af35929a1de00940fdf24337b028230e.zip
Merge branch 'master' of phuket.vyatta.com:/usr/local/git/vyatta-cfg-system
-rw-r--r--debian/vyatta-cfg-system.postinst.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index e4334699..eae046f7 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -61,7 +61,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
@@ -69,6 +73,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