Changeset 28018


Ignore:
Timestamp:
2011-08-16T22:34:24+02:00 (6 years ago)
Author:
florian
Message:

[package] autossh: increase reliability of connection behavior

patch from Paul Geraedts

Location:
packages/net/autossh
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/autossh/Makefile

    r16985 r28018  
    1010PKG_NAME:=autossh 
    1111PKG_VERSION:=1.4b 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 
  • packages/net/autossh/files/autossh.config

    r10807 r28018  
    11config autossh 
    22        option ssh      '-i /etc/dropbear/id_rsa -N -T -R 2222:localhost:22 user@host' 
     3        option gatetime '0' 
    34        option monitorport      '20000' 
    45        option poll     '600' 
  • packages/net/autossh/files/autossh.init

    r16985 r28018  
    66        local section="$1" 
    77        config_get ssh "$section" ssh 
     8        config_get gatetime "$section" gatetime 
    89        config_get monitorport "$section" monitorport 
    910        config_get poll "$section" poll 
    1011 
    11         AUTOSSH_POLL=${poll:-"600"} autossh -M ${monitorport:-"20000"} -f ${ssh} 
     12        AUTOSSH_GATETIME=${gatetime:-"30"} AUTOSSH_POLL=${poll:-"600"} autossh -M ${monitorport:-"20000"} -f ${ssh} 
    1213} 
    1314 
Note: See TracChangeset for help on using the changeset viewer.