From 29ac8e9b9685040fa65a2dbc1a9563894a1aff51 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Sat, 19 Jul 2025 19:49:37 +0200 Subject: [PATCH] mqtt_* reworked due to new location --- mqtt_localhost | 3 --- mqtt_smarthome | 2 +- mqtt_sniffer | 2 +- mqtt_test_smarthome | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) delete mode 100755 mqtt_localhost diff --git a/mqtt_localhost b/mqtt_localhost deleted file mode 100755 index d5a6807..0000000 --- a/mqtt_localhost +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -clear -/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f localhost -n diff --git a/mqtt_smarthome b/mqtt_smarthome index 360f34c..05c9dda 100755 --- a/mqtt_smarthome +++ b/mqtt_smarthome @@ -12,5 +12,5 @@ for s in $(tmux list-sessions -F '#{session_name}'); do fi done -tmux attach-session -t mqtt_smarthome || tmux new-session -s mqtt_smarthome "/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home" +tmux attach-session -t mqtt_smarthome || tmux new-session -s mqtt_smarthome "~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home" diff --git a/mqtt_sniffer b/mqtt_sniffer index 0d23514..5fa3ebc 100755 --- a/mqtt_sniffer +++ b/mqtt_sniffer @@ -1,4 +1,4 @@ #!/bin/bash # -/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py $* +~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py $* diff --git a/mqtt_test_smarthome b/mqtt_test_smarthome index 0c30de5..13253a5 100755 --- a/mqtt_test_smarthome +++ b/mqtt_test_smarthome @@ -12,5 +12,5 @@ for s in $(tmux list-sessions -F '#{session_name}'); do fi done -tmux attach-session -t mqtt_test_smarthome || tmux new-session -s mqtt_test_smarthome "/opt/mqtt_sniffer/venv/bin/python /opt/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home -p 1884 -n" +tmux attach-session -t mqtt_test_smarthome || tmux new-session -s mqtt_test_smarthome "~/my_apps/mqtt_sniffer/venv/bin/python ~/my_apps/mqtt_sniffer/mqtt_sniffer.py -f mqtt.home -p 1884 -n"