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 DESC="Invirt Xen host"
17 /etc/xen/xend-config.sxp.invirt
18 /etc/xen/sysvms/s_master
19 /etc/xen/sysvms/s_remote
20 /etc/xen/sysvms/s_console
23 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
25 . /lib/init/gen-files.sh
26 . /lib/init/std-init.sh
31 echo 1 >/proc/sys/net/ipv4/ip_forward
32 for i in all default; do
33 echo 1 >/proc/sys/net/ipv4/conf/$i/rp_filter
34 echo 1 >/proc/sys/net/ipv4/conf/$i/proxy_arp
37 invoke-rc.d "$PARENTPACKAGE" "$1"
49 invoke-rc.d "$PARENTPACKAGE" stop