summaryrefslogtreecommitdiff
path: root/templates-cfg/system/conntrack/modules/nfs/enable/node.def
blob: 130dd7ffdb27945909c69a2ec6c330a6f8be7670 (plain)
1
2
3
4
5
6
7
8
9
help: enable nfs

create:expression: "touch /tmp/vyatta-conntrack-sync"

end: if [ ${COMMIT_ACTION} = 'DELETE' ]; then
       echo "sudo iptables -D VYATTA_CT_HELPER -t raw -p tcp --dport 2049 -j CT --helper nfs"
     else
       echo "sudo iptables -I VYATTA_CT_HELPER -t raw -p tcp --dport 2049 -j CT --helper nfs"
     fi;