/network/ifupdown-scripts-zg2.d/proxy-arp

http://github.com/brinkman83/bashrc · #! · 20 lines · 16 code · 4 blank · 0 comment · 0 complexity · a63c91bce98d645e62ee93fba3835853 MD5 · raw file

  1. #!/bin/bash
  2. # $Header:$
  3. # IFACE = Logical interface name
  4. # MODE = start | stop
  5. # METHOD = manual, otherwise exit!
  6. # IF_DEVICE = device to be used
  7. # IF_PROXY_ARP = 0/1 - should this interface be configured for proxy-arp
  8. . /etc/network/ifupdown-scripts-zg2.d/common-functions
  9. case "$MODE" in
  10. start)
  11. set_bool_value "proxy_arp" "$IF_PROXY_ARP"
  12. ;;
  13. *)
  14. ;;
  15. esac
  16. # end of file