diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-03-22 18:04:15 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-03-22 18:04:15 -0700 |
commit | 9c7c83a5e701f7efcee11f7ce46361f841dc29b6 (patch) | |
tree | fd1b505390d3c19441767de2ac7678fb11a63e17 /scripts/rl-system.init | |
parent | 4f86a2a56c09f0731e401aa2fe0ae5717f7830c1 (diff) | |
parent | f279d69e1d3952de1231ecf56d6ebb3023b96645 (diff) | |
download | vyatta-cfg-system-9c7c83a5e701f7efcee11f7ce46361f841dc29b6.tar.gz vyatta-cfg-system-9c7c83a5e701f7efcee11f7ce46361f841dc29b6.zip |
Merge branch 'glendale' into hollywood
Conflicts:
debian/control
scripts/install-system
scripts/rl-system.init
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-x | scripts/rl-system.init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init index f74007cc..5b81a4fd 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -78,6 +78,21 @@ add_new_serial_if () { fi } +proc_flags () +{ + # reset_promiscous_arp_response + echo 1 > /proc/sys/net/ipv4/conf/default/arp_filter + # set_ip_forwarding + echo 1 > /proc/sys/net/ipv4/ip_forward + + # if a primary address is removed from an interface promote and + # secondary available + echo 1 > /proc/sys/net/ipv4/conf/all/promote_secondaries + + # set maximum rmem_max to accomodate netlink buffers + echo 1048576 > /proc/sys/net/core/rmem_max +} + ## Update the version information update_version_info () { if [ -f ${vyatta_sysconfdir}/version.master ]; then |