Skip to content

Commit

Permalink
Create manage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolerVoid authored Jun 3, 2022
1 parent a2ae819 commit 8e7223e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions module_generator/scripts/manage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Use this script to hidden the action to send keys to Casper-fs.
# Using this script, you cannot see the history command.
# save this script in /usr/bin/
# COntribution by Paul Wiston - contact: paul.w3st0n@googlemail.com
echo -n "Enter device: "
read DEVICE

echo -n "Enter key: "
stty -echo
read KEY
stty echo

sudo su - root -c "echo $KEY > $DEVICE"
echo

0 comments on commit 8e7223e

Please sign in to comment.