From 780baf289935a69e970e629467329013ba089760 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 13 Sep 2010 15:00:58 -0700 Subject: 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 --- templates/firewall/conntrack-options/sip/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/firewall') diff --git a/templates/firewall/conntrack-options/sip/node.def b/templates/firewall/conntrack-options/sip/node.def index ee79af1..afc15d6 100644 --- a/templates/firewall/conntrack-options/sip/node.def +++ b/templates/firewall/conntrack-options/sip/node.def @@ -47,10 +47,10 @@ end: reload=0 if [ -n "$indirectmedia" ] || [ -n "$indirectsignalling" ] || \ [ -n "$portopt" ]; then - sudo sh -c "echo \# Auto-generated by `whoami` at `date` > /etc/modprobe.d/vyatta_sip_options" - sudo sh -c "echo options nf_conntrack_sip $indirectmedia $indirectsignalling $portopt >> /etc/modprobe.d/vyatta_sip_options " + sudo sh -c "echo \# Auto-generated by `whoami` at `date` > /etc/modprobe.d/vyatta_sip_options.conf" + sudo sh -c "echo options nf_conntrack_sip $indirectmedia $indirectsignalling $portopt >> /etc/modprobe.d/vyatta_sip_options.conf " else - sudo rm -f /etc/modprobe.d/vyatta_sip_options + sudo rm -f /etc/modprobe.d/vyatta_sip_options.conf fi if [ $reload -eq 1 ]; then -- cgit v1.2.3