Skip to content

Commit 90ab8a5

Browse files
patrickelectricWilliangalvani
authored andcommitted
core: tools: scripts: First version with red-pill
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent 6db5872 commit 90ab8a5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

core/tools/scripts/bootstrap.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# Exit immediately if a command exits with a non-zero status
4+
set -e
5+
6+
SCRIPTS_PATH=$(dirname "$0")
7+
cp $PWD/$SCRIPTS_PATH/red-pill /usr/bin/

core/tools/scripts/red-pill

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
echo "You took the red pill."
2+
echo "You stay in Wonderland, and I show you how deep the rabbit hole goes."
3+
echo "Remember, all I'm offering is the truth. Nothing more."
4+
echo "Exiting from docker, welcome to the real world."
5+
sshpass -p raspberry ssh -o StrictHostKeyChecking=no pi@localhost

0 commit comments

Comments
 (0)