summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/node.def
blob: edd3d2f7b92f201107a11d4039a9beda0aa8b0ba (plain)
1
2
3
4
5
6
7
8
9
10
priority: 650
help: Routing Information Protocol (RIP) parameters
create: vtysh -c "configure terminal" -c "router rip"
delete: vtysh -c "configure terminal" -c "no router rip"
end:
  if [ "$COMMIT_ACTION" != "DELETE" ]; then
    vtysh -d ripd -c 'sh run' > /opt/vyatta/etc/quagga/ripd.conf
  else
    rm -f /opt/vyatta/etc/quagga/ripd.conf
  fi