Changeset 1804


Ignore:
Timestamp:
Jun 2, 2016, 11:33:41 AM (3 years ago)
Author:
mabarracus
Message:
  • Add new test to avoid infinite loop when disconnect thin-clients
Location:
epoptes/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • epoptes/trunk/fuentes/debian/changelog

    r1479 r1804  
     1epoptes (0.5.9-lliurex7) xenial; urgency=medium
     2
     3  * Add new test to avoid infinite loop when disconnect thin-clients
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Thu, 02 Jun 2016 11:31:56 +0200
     6
    17epoptes (0.5.9-lliurex6) xenial; urgency=medium
    28
  • epoptes/trunk/fuentes/epoptes-client/epoptes-client

    r1296 r1804  
    233233        kill -9 $BASHPID
    234234}
    235 
     235test_conn(){
     236    if [ -z ${LTSP_CLIENT}]; then
     237        exit 0
     238    fi
     239    ping -c 2 ${LTSP_CLIENT}
     240    if [ $? -eq 0 ]; then
     241        exit 0
     242    fi
     243    ping -c 2 ${LTSP_CLIENT}
     244    if [ $? -eq 0 ]; then
     245        exit 0
     246    fi
     247    salida
     248}
    236249trap salida KILL TERM QUIT INT STOP
    237250
     
    243256            exit 1
    244257        fi
     258        test_conn
    245259    done;
    246260elif [ -f /etc/epoptes/server.crt ]; then
     
    251265            exit 1
    252266        fi
     267        test_conn
    253268    done;
    254269else
Note: See TracChangeset for help on using the changeset viewer.