Changeset 5064


Ignore:
Timestamp:
Jun 5, 2017, 10:16:02 AM (22 months ago)
Author:
hectorgh
Message:

fixing logs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • epoptes/trunk/fuentes/epoptes-client/epoptes-client

    r4434 r5064  
    3333VERSION=$(lliurex-version)
    3434LOG_EPOPTES="/tmp/.epoptes_log.txt"
     35
     36if [ ! -f $LOG_EPOPTES ]; then
     37        touch $LOG_EPOPTES
     38        chmod 777 $LOG_EPOPTES
     39fi
     40
    3541echo "$VERSION" >> $LOG_EPOPTES
    3642discover() {
     
    160166# Main.############################################
    161167
    162 if [ ! -f $LOG_EPOPTES ]; then
    163         touch $LOG_EPOPTES
    164         chmod 777 $LOG_EPOPTES
    165 fi
    166 
    167168echo "">> $LOG_EPOPTES
    168169echo "*******DEPURANDO SCRIPT /USR/SBIN/EPOPTES PARA EL *************    USUARIO : $USER      ******">> $LOG_EPOPTES
Note: See TracChangeset for help on using the changeset viewer.