summaryrefslogtreecommitdiffstats
path: root/filehooker
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-25 23:39:56 +0100
committermakefu <github@syntax-fehler.de>2014-03-25 23:39:56 +0100
commit345e40a9be080f77945aaf8cbd11865ca834a035 (patch)
treec8441dd6e83b290e761d0f0aa835fd0fe8171081 /filehooker
parent743c2570b07466a80f5e8f888b5d2f8b0114591b (diff)
fix add-reaktor-secret
Diffstat (limited to 'filehooker')
-rwxr-xr-xfilehooker/root-image/krebs/bin/add-reaktor-secret.sh7
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}"