Rename reactor to watcher
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 6 Aug 2018 21:27:03 +0000 (17:27 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 6 Aug 2018 21:27:03 +0000 (17:27 -0400)
bin/khatus

index 0b2dd72..7f00236 100755 (executable)
@@ -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'
This page took 0.02653 seconds and 4 git commands to generate.