-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: tools: scripts: First version with red-pill
Signed-off-by: Patrick José Pereira <[email protected]>
- Loading branch information
1 parent
6db5872
commit 90ab8a5
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |