From 6947793591437894b4dcd19f3b207d293b981cfd Mon Sep 17 00:00:00 2001 From: eric-zhou Date: Thu, 30 Oct 2014 15:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BD=AC=E8=8F=8A=E8=8A=B1?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init | 7 +++++++ loading.conf | Bin 0 -> 512 bytes 2 files changed, 7 insertions(+) create mode 100755 loading.conf diff --git a/init b/init index 8e7df99..71b0e95 100755 --- a/init +++ b/init @@ -51,6 +51,10 @@ get_port() run() { + # 添加转菊花效果 -- 阿耀 2014-10-29 + loadingapp $PWD/loading.conf & + local pid=$! + # 随机取得端口 get_port; local port=$port_result @@ -59,6 +63,9 @@ run() { $SSH -i $KEY_FILE -o UserKnownHostsFile="$KNOWN_HOSTS" \ -g -NfR *:$port:*:22 ssh-reverse@115.29.171.150 + # 停止转菊花 + kill $pid + messagebox 远程协助 "远程协助已开启,服务序号$port。 请在结束协助后点击结束退出远程协助。" 1 结束 "killall ssh" } diff --git a/loading.conf b/loading.conf new file mode 100755 index 0000000000000000000000000000000000000000..ff29afd235578779821add3c364342fa3d46bb78 GIT binary patch literal 512 scmb