From e28fedc7c9680d39588dfd4b7887e3aaa9e34eee Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Tue, 18 Mar 2008 14:01:39 -0700 Subject: consolidate proc/sys flag settings to livecd/install hook --- scripts/rl-system.init | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'scripts') diff --git a/scripts/rl-system.init b/scripts/rl-system.init index 812d6199..f74007cc 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -78,21 +78,6 @@ 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 223232 > /proc/sys/net/core/rmem_max -} - ## Update the version information update_version_info () { if [ -f ${vyatta_sysconfdir}/version.master ]; then @@ -157,8 +142,6 @@ start () { log_failure_msg "can\'t set reboot on panic" add_new_serial_if || \ log_failure_msg "can\'t add serial interfaces" - proc_flags || \ - log_failure_msg "can\'t reset proc flags" update_version_info clear_apt_config add_snmp_stats_module -- cgit v1.2.3