interval_inp_fan=1
interval_inp_mem=1
interval_inp_energy=1
- interval_outp_bar=1
# User-overrides
long_options=''
long_options+=',interval_inp_fan:'
long_options+=',interval_inp_mem:'
long_options+=',interval_inp_energy:'
- long_options+=',interval_outp_bar:'
OPTS=$(
getopt \
-o 'd' \
interval_inp_energy="$2"
shift 2
;;
- --interval_outp_bar)
- interval_outp_bar="$2"
- shift 2
- ;;
--)
shift
break
spawn "$pipe" "$dir_bin" "$cmd_sens_fan" 'in:FAN' $interval_inp_fan
spawn "$pipe" "$dir_bin" khatus_sensor_memory 'in:MEMORY' $interval_inp_mem
spawn "$pipe" "$dir_bin" khatus_sensor_energy 'in:ENERGY' $interval_inp_energy
- spawn "$pipe" "$dir_bin" khatus_sensor_bar_req 'out:BAR' $interval_outp_bar
consume \
"$pipe" \