Changeset 3436


Ignore:
Timestamp:
Jan 27, 2017, 10:30:23 AM (2 years ago)
Author:
mabarracus
Message:

Fix n4d calls & animate/mark-configured zero-center banner

Location:
lliurex-zero-installers/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-zero-installers/trunk/fuentes/debian/changelog

    r3433 r3436  
     1lliurex-zero-installers (0.126.3) xenial; urgency=medium
     2
     3  * Fix n4d calls & animate/mark-configured zero-center banner
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Fri, 27 Jan 2017 10:13:52 +0100
     6
    17lliurex-zero-installers (0.126.2) xenial; urgency=medium
    28
  • lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.zmds/lliurex-zero-installer-analytics.zmd

    r3433 r3436  
    1111# LANGUAGE SECTION
    1212#set -x
     13
     14zero-center add-pulsating-color lliurex-zero-installer-analytics
     15
    1316export TEXTDOMAIN="lliurex-zero-installer-analytics"
    1417
     
    4447
    4548Q1=$($GETTEXT "Lliurex-statistics is %s in this system. Do you want change this state?\n")
    46 echo Q1 $Q1
     49#echo Q1 $Q1
    4750VALUE_ME="$(cat /etc/lliurex-analytics/status|grep -i -o yes|uniq)"
    4851if [ -n "$VALUE_ME" ];then
     
    5356
    5457QUESTION1=$(printf "$Q1" "$STATUS_ME")
    55 echo QUESTION1 $QUESTION1
     58#echo QUESTION1 $QUESTION1
    5659if [ "$ASK_QUESTION2" = "yes" ];then
    5760    Q2=$($GETTEXT "Classroom clients have %s status for the reporting agent. Do you want to change reporting agent status?\n")
    58     echo Q2 $Q2
     61#    echo Q2 $Q2
    5962
    60     # Example: n4d-client -u netadmin -p lliurex -c NetinstallManager -m [ get_force_classroom_stats | set_force_classroom_stats -a [ 1 | 0 ] ]
    61     CURRENT_VALUE="$(n4d-client -u netadmin -p lliurex -c VariablesManager -m get_variable -a 'STATS_ENABLED')"
     63    # Example: n4d-client [ -u <usr> -p lliurex <pass> | -r ] -c NetinstallManager -m [ get_force_classroom_stats | set_force_classroom_stats -a [ 1 | 0 ] ]
     64    CURRENT_VALUE="$(n4d-client -r -c NetinstallManager -m get_force_classroom_stats )"
    6265
    6366    STATUS_CLASS=""
     
    7578    fi
    7679    QUESTION2=$(printf "$Q2" "$STATUS_CLASS")
    77     echo QUESTION2 $QUESTION2
     80#    echo QUESTION2 $QUESTION2
    7881fi
    7982
     
    101104    fi
    102105fi
    103 
     106zero-center set-configured lliurex-zero-installer-analytics
     107zero-center remove-pulsating-color lliurex-zero-installer-analytics
    104108exit 0
Note: See TracChangeset for help on using the changeset viewer.