summaryrefslogtreecommitdiff
path: root/templates/protocols/static/node.def
blob: 0afb363ed3d6eb4e0e1782774c19c5292e69a2a7 (plain)
1
2
3
4
5
6
7
8
9
10
priority: 480
help: Static route parameters
end:
  if [ "$COMMIT_ACTION" != "DELETE" ]; then
    vtysh -d zebra -c 'sh run' > /opt/vyatta/etc/quagga/zebra.conf
    sudo vtysh --writeconfig --noerror
  else
    rm -f /opt/vyatta/etc/quagga/zebra.conf
  fi