From 7f37bac8fa7c36f751d3e3cc9aa9cbafeb3076c5 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 7 Sep 2010 08:38:50 -0700 Subject: Change modprobe.d files to .conf In squeeze, modprobe wants config files named .conf or it will generate warning. --- templates/system/ipv6/blacklist/node.def | 4 ++-- templates/system/ipv6/disable/node.def | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/system/ipv6/blacklist/node.def b/templates/system/ipv6/blacklist/node.def index b19214db..ce8dafd1 100644 --- a/templates/system/ipv6/blacklist/node.def +++ b/templates/system/ipv6/blacklist/node.def @@ -2,9 +2,9 @@ help: Prevent the IPv6 kernel module from being loaded create: sudo sh -c "echo blacklist ipv6 > \ - /etc/modprobe.d/vyatta_blacklist_ipv6" + /etc/modprobe.d/vyatta_blacklist_ipv6.conf" echo "This change will take affect when the system is rebooted." delete: - sudo sh -c "rm -f /etc/modprobe.d/vyatta_blacklist_ipv6" + sudo sh -c "rm -f /etc/modprobe.d/vyatta_blacklist_ipv6.conf" echo "This change will take affect when the system is rebooted." diff --git a/templates/system/ipv6/disable/node.def b/templates/system/ipv6/disable/node.def index 50aaa420..be1ce2f5 100644 --- a/templates/system/ipv6/disable/node.def +++ b/templates/system/ipv6/disable/node.def @@ -2,9 +2,9 @@ help: Disable assignment of IPv6 addresses on all interfaces create: sudo sh -c "echo options ipv6 disable_ipv6=1 > \ - /etc/modprobe.d/vyatta_disable_ipv6" + /etc/modprobe.d/vyatta_disable_ipv6.conf" echo "This change will take affect when the system is rebooted." delete: - sudo sh -c "rm -f /etc/modprobe.d/vyatta_disable_ipv6" + sudo sh -c "rm -f /etc/modprobe.d/vyatta_disable_ipv6.conf" echo "This change will take affect when the system is rebooted." -- cgit v1.2.3