summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 17:13:19 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-04 17:13:19 -0800
commit21581023b1fefa1b29c6ffa34235273ec739f318 (patch)
tree2ba76e4cffcc563b1abce4b438ef0291d6b1354e /debian/vyatta-cfg-system.postinst.in
parent8fedbc2a708d630b5a97c3b02e20fcf2a8d334dc (diff)
downloadvyatta-cfg-quagga-21581023b1fefa1b29c6ffa34235273ec739f318.tar.gz
vyatta-cfg-quagga-21581023b1fefa1b29c6ffa34235273ec739f318.zip
fix for bug 2511: create empty resolv.conf in postinst.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 4420ce7c..a29f3371 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -24,7 +24,7 @@ if [ "$sysconfdir" != "/etc" ]; then
quagga/bgpd.conf quagga/ospfd.conf quagga/ospf6d.conf \
quagga/ripd.conf quagga/ripngd.conf quagga/isisd.conf \
snmp/snmpd.conf snmp/snmptrapd.conf keepalived/keepalived.conf \
- ipvsadm.rules default/ipvsadm
+ ipvsadm.rules default/ipvsadm resolv.conf
do
[ -f /etc/$conf ] && mv -f /etc/$conf /etc/$conf.vyatta-save
touch /etc/$conf