Changeset 3436
- Timestamp:
- Jan 27, 2017, 10:30:23 AM (4 years ago)
- Location:
- lliurex-zero-installers/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-zero-installers/trunk/fuentes/debian/changelog
r3433 r3436 1 lliurex-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 1 7 lliurex-zero-installers (0.126.2) xenial; urgency=medium 2 8 -
lliurex-zero-installers/trunk/fuentes/lliurex-zero-installer-analytics.zmds/lliurex-zero-installer-analytics.zmd
r3433 r3436 11 11 # LANGUAGE SECTION 12 12 #set -x 13 14 zero-center add-pulsating-color lliurex-zero-installer-analytics 15 13 16 export TEXTDOMAIN="lliurex-zero-installer-analytics" 14 17 … … 44 47 45 48 Q1=$($GETTEXT "Lliurex-statistics is %s in this system. Do you want change this state?\n") 46 echo Q1 $Q149 #echo Q1 $Q1 47 50 VALUE_ME="$(cat /etc/lliurex-analytics/status|grep -i -o yes|uniq)" 48 51 if [ -n "$VALUE_ME" ];then … … 53 56 54 57 QUESTION1=$(printf "$Q1" "$STATUS_ME") 55 echo QUESTION1 $QUESTION158 #echo QUESTION1 $QUESTION1 56 59 if [ "$ASK_QUESTION2" = "yes" ];then 57 60 Q2=$($GETTEXT "Classroom clients have %s status for the reporting agent. Do you want to change reporting agent status?\n") 58 echo Q2 $Q261 # echo Q2 $Q2 59 62 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 )" 62 65 63 66 STATUS_CLASS="" … … 75 78 fi 76 79 QUESTION2=$(printf "$Q2" "$STATUS_CLASS") 77 echo QUESTION2 $QUESTION280 # echo QUESTION2 $QUESTION2 78 81 fi 79 82 … … 101 104 fi 102 105 fi 103 106 zero-center set-configured lliurex-zero-installer-analytics 107 zero-center remove-pulsating-color lliurex-zero-installer-analytics 104 108 exit 0
Note: See TracChangeset
for help on using the changeset viewer.