comparison debian/dropbear.init @ 450:c23c7f0f594c

Use the -W <windowsize> argument in startup scripts, with a default of 64kB
author Matt Johnston <matt@ucc.asn.au>
date Wed, 25 Jul 2007 15:44:50 +0000
parents c66797d973ff
children f2aa5aeea619
comparison
equal deleted inserted replaced
449:3e6c536bc023 450:c23c7f0f594c
46 echo -n "Restarting $DESC: " 46 echo -n "Restarting $DESC: "
47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid 47 start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/"$NAME".pid
48 sleep 1 48 sleep 1
49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \ 49 start-stop-daemon --start --quiet --pidfile /var/run/"$NAME".pid \
50 --exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \ 50 --exec "$DAEMON" -- -d "$DROPBEAR_DSSKEY" -r "$DROPBEAR_RSAKEY" \
51 -p "$DROPBEAR_PORT" $DROPBEAR_EXTRA_ARGS 51 -p "$DROPBEAR_PORT" -W "$DROPBEAR_RECEIVE_WINDOW" $DROPBEAR_EXTRA_ARGS
52 echo "$NAME." 52 echo "$NAME."
53 ;; 53 ;;
54 *) 54 *)
55 N=/etc/init.d/$NAME 55 N=/etc/init.d/$NAME
56 echo "Usage: $N {start|stop|restart|force-reload}" >&2 56 echo "Usage: $N {start|stop|restart|force-reload}" >&2