summaryrefslogtreecommitdiffstats
path: root/filehooker/root-image/krebs/bin/add-reaktor-secret.sh
blob: 7d3fa7f83ac4a6d6ac0822e62f921ba69834b247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"