Last change
on this file since 1258 was
1257,
checked in by broder, 16 years ago
|
sipb-xen-dom0 -> invirt-xen-config
|
File size:
541 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | ### BEGIN INIT INFO |
---|
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 |
---|
7 | # Default-Stop: 0 1 6 |
---|
8 | # Short-Description: Startup script for the Invirt Xen host |
---|
9 | # Description: |
---|
10 | ### END INIT INFO |
---|
11 | |
---|
12 | set -e |
---|
13 | |
---|
14 | case $1 in |
---|
15 | start) |
---|
16 | echo 1 >/proc/sys/net/ipv4/ip_forward |
---|
17 | for foo in all default; do |
---|
18 | echo 1 >/proc/sys/net/ipv4/conf/$foo/rp_filter |
---|
19 | echo 1 >/proc/sys/net/ipv4/conf/$foo/proxy_arp |
---|
20 | done |
---|
21 | ;; |
---|
22 | esac |
---|
Note: See
TracBrowser
for help on using the repository browser.