3 # Provides: invirt-xen-config
4 # Required-Start: $local_fs $remote_fs
5 # Required-Stop: $local_fs $remote_fs
6 # Default-Start: 2 3 4 5
8 # Short-Description: Startup script for the Invirt Xen host
12 PACKAGE=invirt-xen-config
14 GEN_FILES=/etc/xen/xend-config.sxp
16 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
18 . /lib/init/gen-files.sh
19 . /lib/init/std-init.sh
24 echo 1 >/proc/sys/net/ipv4/ip_forward
25 for i in all default; do
26 echo 1 >/proc/sys/net/ipv4/conf/$i/rp_filter
27 echo 1 >/proc/sys/net/ipv4/conf/$i/proxy_arp
30 invoke-rc.d "$PARENTPACKAGE" "$1"
38 invoke-rc.d "$PARENTPACKAGE" "$1"