# HG changeset patch # User Matt Johnston # Date 1185380457 0 # Node ID f2aa5aeea619691b22e12a3aff183d3e7d0a6d02 # Parent c23c7f0f594c523a247bfb0e1706d3309e34855c Add default argument for receive window diff -r c23c7f0f594c -r f2aa5aeea619 debian/dropbear.init --- a/debian/dropbear.init Wed Jul 25 15:44:50 2007 +0000 +++ b/debian/dropbear.init Wed Jul 25 16:20:57 2007 +0000 @@ -26,6 +26,8 @@ DROPBEAR_RSAKEY="/etc/dropbear/dropbear_rsa_host_key" test -n "$DROPBEAR_DSSKEY" || \ DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key" +test -n "$DROPBEAR_RECEIVE_WINDOW" || \ + DROPBEAR_RECEIVE_WINDOW="65536" case "$1" in start) @@ -33,7 +35,7 @@ echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ --exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \ - -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS + -p "$DROPBEAR_PORT" -W "$DROPBEAR_RECEIVE_WINDOW" $DROPBEAR_EXTRA_ARGS echo "$NAME." ;; stop)