#!/bin/sh
#2008031300 TSR,LemonComputing ltd
#This is a hack, no more, no less, but it seems to get rid of sluggish network responses on Linux Etch servers
# Use at own risk
echo "echo 0 > /proc/sys/net/ipv4/tcp_window_scaling" > /etc/init.d/window_scaling_fix
chmod 755 /etc/init.d/window_scaling_fix
update-rc.d -f window_scaling_fix remove
update-rc.d window_scaling_fix start 99 2 3 4 5 .
/etc/init.d/window_scaling_fix
