Final fix

pull/22/head
schizza 2024-05-03 09:28:00 +02:00
parent e84ec8f69e
commit 0409955801
1 changed files with 2 additions and 2 deletions

View File

@ -196,8 +196,8 @@ echo -n "Creating 'exec.sh' script ... "
cat >$COMPLETE_PATH/exec.sh <<-EOF cat >$COMPLETE_PATH/exec.sh <<-EOF
#!/bin/bash #!/bin/bash
RUN=$(find /homeassistant -name "iptables_redirect.sh" | sed -n 1p) RUN=\$(find /homeassistant -name "iptables_redirect.sh" | sed -n 1p)
KEY=$(find /homeassistatnt -name "ipt_dsa" | 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 cat \$RUN | ssh -i \$KEY -o StrictHostKeyChecking=no -p $SSH_PORT -l $SSH_USER $HA_IP /bin/zsh
EOF EOF