On 21 July 2011 23:52, Paul Geraedts <p.f.j.gerae...@gmail.com> wrote: > This patch increases the reliability of connection behavior considerably. > It increases the persistence with which autossh tries to reconnect after > an unsuccessful connection attempt. > > Signed-off-by: Paul Geraedts <p.f.j.gerae...@gmail.com> > > --- > > Index: packages/net/autossh/files/autossh.init > =================================================================== > --- packages/net/autossh/files/autossh.init (revision 27687) > +++ packages/net/autossh/files/autossh.init (working copy) > @@ -5,10 +5,11 @@ > start_service () { > local section="$1" > config_get ssh "$section" ssh > + config_get gatetime "$section" gatetime > config_get monitorport "$section" monitorport > config_get poll "$section" poll > > - AUTOSSH_POLL=${poll:-"600"} autossh -M ${monitorport:-"20000"} -f > ${ssh} > + AUTOSSH_GATETIME=${gatetime:-"30"} AUTOSSH_POLL=${poll:-"600"} > autossh -M ${monitorport:-"20000"} -f ${ssh}
This line got auto wrapped by your email client. Jonas _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel