File: proxy-arp

package info (click to toggle)
ifupdown-scripts-zg2 0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 500 kB
  • ctags: 76
  • sloc: sh: 3,606; makefile: 35
file content (20 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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