source: package_tags/sipb-xen-dom0/2.1/sipb-xen-dom0/debian/sipb-xen-dom0.init @ 2597

Last change on this file since 2597 was 89, checked in by hartmans, 17 years ago
  • Fix typo in init script
  • depend on dsniff for arpspoof
File size: 241 bytes
Line 
1#!/bin/sh
2set -e
3
4case $1 in
5    start)
6    for foo in all default; do
7    echo 1 >/proc/sys/net/ipv4/conf/$foo/rp_filter
8    echo 1 >/proc/sys/net/ipv4/conf/$foo/proxy_arp
9    done
10    echo 1 >/proc/sys/net/ipv4/ip_forward
11    ;;
12    esac
Note: See TracBrowser for help on using the repository browser.