/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
- #!/bin/bash
- # $Header:$
- # IFACE = Logical interface name
- # MODE = start | stop
- # METHOD = manual, otherwise exit!
- # IF_DEVICE = device to be used
- # IF_PROXY_ARP = 0/1 - should this interface be configured for proxy-arp
- . /etc/network/ifupdown-scripts-zg2.d/common-functions
- case "$MODE" in
- start)
- set_bool_value "proxy_arp" "$IF_PROXY_ARP"
- ;;
- *)
- ;;
- esac
- # end of file