seeedfarming: add proper shebang to script - brcon2025-hackathons - Bitreichcon 2025 Hackathons
(HTM) git clone git://bitreich.org/brcon2025-hackathons git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/brcon2025-hackathons
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
---
(DIR) commit ae6e1e378cac2eec143fbdc9126c5ae38b8429ef
(DIR) parent 44591947a0ffc5b1adc9af416c0dddfe2b0f8dc2
(HTM) Author: Josuah Demangeon <me@josuah.net>
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(-)
---
(DIR) 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
(DIR) 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
(DIR) 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
(DIR) 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 time