From: Siraaj Khandkar Date: Mon, 6 Aug 2018 21:27:03 +0000 (-0400) Subject: Rename reactor to watcher X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=ff74b448f815a3c71303746c61f18b7510db3e95;p=khatus.git Rename reactor to watcher --- diff --git a/bin/khatus b/bin/khatus index 0b2dd72..7f00236 100755 --- a/bin/khatus +++ b/bin/khatus @@ -19,7 +19,7 @@ run_producer() { done } -fork_reactor() { +fork_watcher() { run_producer "$@" & } @@ -124,7 +124,7 @@ main() { cmd_sens_volume="khatus_sensor_volume $bin" ( - fork_reactor "$bin" "khatus_sensor_energy $bin" 'in:ENERGY' + fork_watcher "$bin" "khatus_sensor_energy $bin" 'in:ENERGY' fork_poller "${opts['--interval_inp_datetime']}" "$bin" khatus_sensor_datetime 'in:DATE_TIME' fork_poller "${opts['--interval_inp_brightness']}" "$bin" "$cmd_sens_screen_brightness" 'in:SCREEN_BRIGHTNESS' fork_poller "${opts['--interval_inp_weather']}" "$bin" "$cmd_sens_weather" 'in:WEATHER'