mirror of
https://github.com/clearml/dropbear
synced 2025-02-24 12:54:12 +00:00
Add default argument for receive window
--HG-- extra : convert_revision : 83535bcee65d8f58becbb75153cf0063c57a48dc
This commit is contained in:
parent
876e7b99d4
commit
993f58900d
4
debian/dropbear.init
vendored
4
debian/dropbear.init
vendored
@ -26,6 +26,8 @@ test -n "$DROPBEAR_RSAKEY" || \
|
|||||||
DROPBEAR_RSAKEY="/etc/dropbear/dropbear_rsa_host_key"
|
DROPBEAR_RSAKEY="/etc/dropbear/dropbear_rsa_host_key"
|
||||||
test -n "$DROPBEAR_DSSKEY" || \
|
test -n "$DROPBEAR_DSSKEY" || \
|
||||||
DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key"
|
DROPBEAR_DSSKEY="/etc/dropbear/dropbear_dss_host_key"
|
||||||
|
test -n "$DROPBEAR_RECEIVE_WINDOW" || \
|
||||||
|
DROPBEAR_RECEIVE_WINDOW="65536"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
@ -33,7 +35,7 @@ case "$1" in
|
|||||||
echo -n "Starting $DESC: "
|
echo -n "Starting $DESC: "
|
||||||
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
|
||||||
--exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \
|
--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."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
|
Loading…
Reference in New Issue
Block a user