From 5706ccdeb6da6fcae6f3c431e7de6564470d8051 Mon Sep 17 00:00:00 2001 From: Clang Date: Sun, 27 Mar 2016 15:26:49 +0800 Subject: [PATCH] Update ngrokd.init --- ngrokd.init | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ngrokd.init b/ngrokd.init index 7d6ff45..f9013d6 100644 --- a/ngrokd.init +++ b/ngrokd.init @@ -247,11 +247,12 @@ check_ngrok_authId(){ fun_adduser_command(){ fun_load_config clear + fun_clangcn echo curl -H \"Content-Type: application/json\" -H \"Auth:${pass}\" -X POST -d \''{'\"userId\":\"${strPassword}\",\"authId\":\"${userName}\",\"dns\":[${subdns}]'}'\' http://localhost:${manage_port}/adduser >${ProGramInstallPath}/.ngrok_adduser.sh chmod +x ${ProGramInstallPath}/.ngrok_adduser.sh . ${ProGramInstallPath}/.ngrok_adduser.sh rm -f ${ProGramInstallPath}/.ngrok_adduser.sh - fun_clangcn + echo "" echo "User list :" curl -H "Content-Type: application/json" -H "Auth:${pass}" -X GET http://localhost:${manage_port}/info echo "=============================================================" -- libgit2 0.21.0