From 881e9792c76c06fa8ffd3a5418373afc892fbede Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Tue, 17 Oct 2023 09:23:58 +0200 Subject: [PATCH] switch: call blue-merle-switch when toggling the button to on --- files/etc/gl-switch.d/sim.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/etc/gl-switch.d/sim.sh b/files/etc/gl-switch.d/sim.sh index f5aa840..e972918 100644 --- a/files/etc/gl-switch.d/sim.sh +++ b/files/etc/gl-switch.d/sim.sh @@ -9,6 +9,7 @@ logger -p notice -t blue-merle-toggle "Called... ${action}" if [ "$action" = "on" ];then mcu_send_message "Blue Merle ${action}" echo "on" > /tmp/sim_change_switch + /usr/bin/blue-merle-switch elif [ "$action" = "off" ];then mcu_send_message "Blue Merle ${action}"