| seeedfarming: add proper shebang to script - brcon2025-hackathons - Bitreichcon… | |
| git clone git://bitreich.org/brcon2025-hackathons git://enlrupgkhuxnvlhsf6lc3fz… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| --- | |
| commit ae6e1e378cac2eec143fbdc9126c5ae38b8429ef | |
| parent 44591947a0ffc5b1adc9af416c0dddfe2b0f8dc2 | |
| Author: Josuah Demangeon <[email protected]> | |
| Date: Tue, 29 Jul 2025 19:58:30 +0200 | |
| seeedfarming: add proper shebang to script | |
| Diffstat: | |
| M seeedfarming/client.sh | 2 ++ | |
| M seeedfarming/forward.sh | 2 ++ | |
| M seeedfarming/server.sh | 2 ++ | |
| M seeedfarming/session.sh | 2 ++ | |
| 4 files changed, 8 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/seeedfarming/client.sh b/seeedfarming/client.sh | |
| @@ -1,3 +1,5 @@ | |
| +#!/bin/sh | |
| + | |
| # Clean the terminal when exiting | |
| trap 'stty sane' INT TERM EXIT | |
| diff --git a/seeedfarming/forward.sh b/seeedfarming/forward.sh | |
| @@ -1,3 +1,5 @@ | |
| +#!/bin/sh | |
| + | |
| ssh -Nv -R 7000:127.0.0.1:7000 \ | |
| $(for i in $(seq 1 256); do echo -R $(printf 7%03d $i):192.168.66.$i:70; done… | |
| bitreich.org | |
| diff --git a/seeedfarming/server.sh b/seeedfarming/server.sh | |
| @@ -1,3 +1,5 @@ | |
| +#!/bin/sh | |
| + | |
| # Default parameters | |
| # Change to the current directory to find the session.sh script | |
| diff --git a/seeedfarming/session.sh b/seeedfarming/session.sh | |
| @@ -1,3 +1,5 @@ | |
| +#!/bin/sh | |
| + | |
| # You do not need to run this, but have a look if you are curious | |
| # Initial string sent to reboot the board and start from a clean session every… |