diff options
Diffstat (limited to 'debian/vyatta-cfg-firewall.postinst.in')
-rw-r--r-- | debian/vyatta-cfg-firewall.postinst.in | 4 |
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 |