Commit 5706ccdeb6da6fcae6f3c431e7de6564470d8051
1 parent
170fe64a
Exists in
master
Update ngrokd.init
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
ngrokd.init
... | ... | @@ -247,11 +247,12 @@ check_ngrok_authId(){ |
247 | 247 | fun_adduser_command(){ |
248 | 248 | fun_load_config |
249 | 249 | clear |
250 | + fun_clangcn | |
250 | 251 | 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 |
251 | 252 | chmod +x ${ProGramInstallPath}/.ngrok_adduser.sh |
252 | 253 | . ${ProGramInstallPath}/.ngrok_adduser.sh |
253 | 254 | rm -f ${ProGramInstallPath}/.ngrok_adduser.sh |
254 | - fun_clangcn | |
255 | + echo "" | |
255 | 256 | echo "User list :" |
256 | 257 | curl -H "Content-Type: application/json" -H "Auth:${pass}" -X GET http://localhost:${manage_port}/info |
257 | 258 | echo "=============================================================" | ... | ... |