~ubuntu-branches/ubuntu/raring/uml-utilities/raring

« back to all changes in this revision

Viewing changes to debian/uml-utilities.if-up.d

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-04-14 17:59:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040414175945-olq69xkt2da1oxca
Tags: 20040406-1
* New upstream release
* Patch from Carlos Perelló Marín to fix uml_proxy_arp with multiple
  addresses (Closes: #243834)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
test -n "${IF_UML_PROXY_ARP}" || exit 0
 
4
test -n "${IF_UML_PROXY_ETHER}" || exit 0
 
5
 
 
6
sysctl -w net/ipv4/conf/"${IFACE}"/proxy_arp=1
 
7
 
 
8
for i in ${IF_UML_PROXY_ARP};
 
9
do
 
10
  route add -host "$i" dev "${IFACE}"
 
11
  arp -Ds "$i" "${IF_UML_PROXY_ETHER}" pub
 
12
done