summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2010-09-13 15:00:58 -0700
committerMohit Mehta <mohit@vyatta.com>2010-09-13 15:00:58 -0700
commit780baf289935a69e970e629467329013ba089760 (patch)
tree8d6a283abaa3e12bde919aac05c5ee11c819f8a1 /debian
parent67a67cc557f5a83694c8e3a053f157882e87367e (diff)
downloadvyatta-cfg-firewall-780baf289935a69e970e629467329013ba089760.tar.gz
vyatta-cfg-firewall-780baf289935a69e970e629467329013ba089760.zip
Fix bug 6149 Warning on boot because of modprobe config file names
* rename existing files instead of removing em. rename sip option file as well
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-firewall.postinst.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyatta-cfg-firewall.postinst.in b/debian/vyatta-cfg-firewall.postinst.in
index 3bfd95e..f4158c1 100644
--- a/debian/vyatta-cfg-firewall.postinst.in
+++ b/debian/vyatta-cfg-firewall.postinst.in
@@ -12,9 +12,9 @@ ln -sf /opt/vyatta/sbin/vyatta-ipset.pl ${bindir}/sudo-users/vyatta-ipset.pl
# comply with Squeeze version of modprobe
# remove old versions of files during upgrade
-for modprobe in vyatta_nf_conntrack vyatta_xt_recent
+for modprobe in vyatta_nf_conntrack vyatta_xt_recent vyatta_sip_options
do
if [ -f /etc/modprobe.d/${modprobe} ]; then
- rm -f /etc/modprobe.d/${modprobe}
+ mv -f -n /etc/modprobe.d/${modprobe} /etc/modprobe.d/${modprobe}.conf
fi
done