diff options
author | Mohit Mehta <mohit@vyatta.com> | 2010-09-13 15:48:15 -0700 |
---|---|---|
committer | Mohit Mehta <mohit@vyatta.com> | 2010-09-13 15:48:15 -0700 |
commit | 0be52a1eb189cd122b12718e646b27f7ff0273a1 (patch) | |
tree | edfc1b9a045a9c4a59966b9b62907e316ea76ccf /debian | |
parent | e4efbc49082c5026063a4fd831bf5ee79f819944 (diff) | |
download | vyatta-cfg-quagga-0be52a1eb189cd122b12718e646b27f7ff0273a1.tar.gz vyatta-cfg-quagga-0be52a1eb189cd122b12718e646b27f7ff0273a1.zip |
rename pre-mendocino ipv6 modprobe files to add .conf suffix
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index e12ca45b..9f5b7b88 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -207,6 +207,15 @@ if [ -f /etc/init.d/vyatta-ofr ]; then rm -f /etc/init.d/vyatta-ofr fi +# comply with Squeeze version of modprobe +# remove old versions of files during upgrade +for modprobe in vyatta_blacklist_ipv6 vyatta_disable_ipv6 +do + if [ -f /etc/modprobe.d/${modprobe} ]; then + mv -f /etc/modprobe.d/${modprobe} /etc/modprobe.d/${modprobe}.conf + fi +done + # Local Variables: # mode: shell-script # sh-indentation: 4 |