Skip to content

Commit

Permalink
core: tools: scripts: First version with red-pill
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric authored and Williangalvani committed Mar 4, 2022
1 parent 6db5872 commit 90ab8a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/tools/scripts/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# Exit immediately if a command exits with a non-zero status
set -e

SCRIPTS_PATH=$(dirname "$0")
cp $PWD/$SCRIPTS_PATH/red-pill /usr/bin/
5 changes: 5 additions & 0 deletions core/tools/scripts/red-pill
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
echo "You took the red pill."
echo "You stay in Wonderland, and I show you how deep the rabbit hole goes."
echo "Remember, all I'm offering is the truth. Nothing more."
echo "Exiting from docker, welcome to the real world."
sshpass -p raspberry ssh -o StrictHostKeyChecking=no pi@localhost

0 comments on commit 90ab8a5

Please sign in to comment.