diff --git a/module_generator/scripts/manage.sh b/module_generator/scripts/manage.sh new file mode 100644 index 0000000..464697e --- /dev/null +++ b/module_generator/scripts/manage.sh @@ -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