help: "Redistribute OSPF routes"
delete: "touch /tmp/rip-redist-ospf.\\$PPID" 
end: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
        -c \"no redistribute ospf \"; \
      if [ -f \"/tmp/rip-redist-ospf.\\$PPID\" ]; then \
        rm -rf /tmp/rip-redist-ospf.\\$PPID; \
      else \
        if [ -n \"$(./metric/@)\" ]; then \
          COND=\"metric $(./metric/@)\";
        fi; \
        if [ -n \"$(./route-map/@)\" ]; then \
          COND=\"\\$COND route-map $(./route-map/@)\"; \
        fi; \
        /usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
          -c \"redistribute ospf \\$COND\"; \
      fi; "