PageRenderTime 206ms CodeModel.GetById 202ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/network/if-up.d/ifupdown-scripts-zg2-80proxy-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
 4# IFACE         = Logical interface name
 5# MODE          = start | stop
 6# METHOD        = manual, otherwise exit!
 7# IF_DEVICE	= device to be used
 8# IF_PROXY_ARP  = 0/1 - should this interface be configured for proxy-arp
 9
10. /etc/network/ifupdown-scripts-zg2.d/common-functions
11
12case "$MODE" in
13  start)
14    set_bool_value "proxy_arp" "$IF_PROXY_ARP"
15    ;;
16  *)
17    ;;
18esac
19
20# end of file