Comment 1 for bug 125838

Revision history for this message
Fathi Boudra (fboudra) wrote :

hi,

i can't reproduce the bug using 0.8.0-1 package.

/etc/default/icecc contains:

  1 # Defaults for icecc initscript
  2 # sourced by /etc/init.d/icecc
  3 START_ICECC="true"
  4 START_ICECC_SCHEDULER="false"

we read config file in /etc/init.d/icecc:
[...]
 15 CONFIGFILE=/etc/icecc/icecc.conf
 16 DEFAULTFILE=/etc/default/icecc
 17
 18 # Read configuration files
 19 [ -r $CONFIGFILE ] && . $CONFIGFILE
 20 [ -r $DEFAULTFILE ] && . $DEFAULTFILE
[...]

and on start case:
[...]
 78 start)
 79 if [ "$START_ICECC" = "true" ]; then
 80 log_daemon_msg "Starting distributed compiler daemon" "iceccd"
 81 start_icecc_daemon
 82 log_end_msg $?
 83 fi
 84
 85 if [ "$START_ICECC_SCHEDULER" = "true" ]; then
 86 log_daemon_msg "Starting distributed compiler scheduler" "icecc-scheduler"
 87 start_icecc_scheduler
 88 log_end_msg $?
 89 fi
 90 ;;
[...]

we show each message only if its own variable is set to true.

cheers,

Fathi