summaryrefslogtreecommitdiff
path: root/templates
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 /templates
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 'templates')
-rw-r--r--templates/firewall/conntrack-options/sip/node.def6
1 files changed, 3 insertions, 3 deletions
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