summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorrbays <rbays@ft1.vyatta.com>2008-05-19 21:22:58 -0700
committerrbays <rbays@ft1.vyatta.com>2008-05-19 21:22:58 -0700
commit2b5d8a35ce7deda1829b60bbfac46e26f530b014 (patch)
tree61f322fc9250a00b3c471ef690376bbb06667bd1 /scripts/rl-system.init
parent1265e545b75857785f933465c104aff9ec91fbd3 (diff)
parent5b160a324927a457c8ddbd90afada3523b189a43 (diff)
downloadvyatta-cfg-system-2b5d8a35ce7deda1829b60bbfac46e26f530b014.tar.gz
vyatta-cfg-system-2b5d8a35ce7deda1829b60bbfac46e26f530b014.zip
Merge branch 'hollywood' of http://git.vyatta.com/vyatta-cfg-system into hollywood
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init17
1 files changed, 2 insertions, 15 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 5b81a4fd..23d67d12 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 1048576 > /proc/sys/net/core/rmem_max
-}
-
## Update the version information
update_version_info () {
if [ -f ${vyatta_sysconfdir}/version.master ]; then
@@ -157,6 +142,8 @@ start () {
log_failure_msg "can\'t set reboot on panic"
add_new_serial_if || \
log_failure_msg "can\'t add serial interfaces"
+ sysctl -q -p /opt/vyatta/etc/vyatta-sysctl.conf ||
+ log_failure_msg "can\'t configure kernel settings"
update_version_info
clear_apt_config
add_snmp_stats_module