summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/bin/add-reaktor-secret.sh
diff options
context:
space:
mode:
Diffstat (limited to 'filehooker/root-image/krebs/bin/add-reaktor-secret.sh')
-rw-r--r--filehooker/root-image/krebs/bin/add-reaktor-secret.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/filehooker/root-image/krebs/bin/add-reaktor-secret.sh b/filehooker/root-image/krebs/bin/add-reaktor-secret.sh
new file mode 100644
index 00000000..7d3fa7f8
--- /dev/null
+++ b/filehooker/root-image/krebs/bin/add-reaktor-secret.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+set -euf
+green='\e[0;32m'
+red='\e[0;31m'
+nc='\e[0m'
+black='\e[0;30m'
+
+
+printf "${green}Add a Reaktor Secret${nc}\n"
+
+printf "provide Nick Name:\n"
+nick=${1:-}
+test -z "${nick:-}" && read nick
+printf "provide Secret:$black\n"
+nick=${2:-}
+test -z "${secret:-}" && read secret
+
+printf "${nc}nick secret"