From 0409955801f3cd03850386ff4e1574fbcb5360a6 Mon Sep 17 00:00:00 2001 From: schizza Date: Fri, 3 May 2024 09:28:00 +0200 Subject: [PATCH] Final fix --- install_iptables.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_iptables.sh b/install_iptables.sh index 8c2bbfe..757300b 100644 --- a/install_iptables.sh +++ b/install_iptables.sh @@ -196,8 +196,8 @@ echo -n "Creating 'exec.sh' script ... " cat >$COMPLETE_PATH/exec.sh <<-EOF #!/bin/bash -RUN=$(find /homeassistant -name "iptables_redirect.sh" | sed -n 1p) -KEY=$(find /homeassistatnt -name "ipt_dsa" | sed -n 1p) +RUN=\$(find /homeassistant -name "iptables_redirect.sh" | sed -n 1p) +KEY=\$(find /homeassistatnt -name "ipt_dsa" | sed -n 1p) cat \$RUN | ssh -i \$KEY -o StrictHostKeyChecking=no -p $SSH_PORT -l $SSH_USER $HA_IP /bin/zsh EOF