diff options
author | makefu <github@syntax-fehler.de> | 2014-03-25 23:39:56 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-03-25 23:39:56 +0100 |
commit | 345e40a9be080f77945aaf8cbd11865ca834a035 (patch) | |
tree | c8441dd6e83b290e761d0f0aa835fd0fe8171081 /filehooker/root-image/krebs | |
parent | 743c2570b07466a80f5e8f888b5d2f8b0114591b (diff) |
fix add-reaktor-secret
Diffstat (limited to 'filehooker/root-image/krebs')
-rwxr-xr-x | filehooker/root-image/krebs/bin/add-reaktor-secret.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/filehooker/root-image/krebs/bin/add-reaktor-secret.sh b/filehooker/root-image/krebs/bin/add-reaktor-secret.sh index 7d3fa7f8..8a3a5c6b 100755 --- a/filehooker/root-image/krebs/bin/add-reaktor-secret.sh +++ b/filehooker/root-image/krebs/bin/add-reaktor-secret.sh @@ -5,14 +5,13 @@ 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:-} +secret=${2:-} test -z "${secret:-}" && read secret - -printf "${nc}nick secret" +echo "$nick $secret" >> /krebs/painload/Reaktor/admin.lst +printf "${green}done${nc}" |