Skip to content

Commit 4207e8f

Browse files
author
eric-zhou
committed
修改转菊花效果
1 parent 0a61d43 commit 4207e8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

init

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ get_port()
5252

5353
run() {
5454
# 添加转菊花效果 -- 阿耀 2014-10-29
55+
updateconf $PWD/loading.conf -t State -v 0
5556
loadingapp $PWD/loading.conf &
5657
local pid=$!
5758

@@ -64,10 +65,10 @@ run() {
6465
-g -NfR *:$port:*:22 [email protected]
6566

6667
messagebox 远程协助 "远程协助已开启,服务序号$port
67-
请在结束协助后点击结束退出远程协助。" 1 结束 "killall ssh"
68+
请在结束协助后点击结束退出远程协助。" 1 结束 "killall ssh" &
6869

6970
# 停止转菊花
70-
kill $pid
71+
updateconf $PWD/loading.conf -t State -v 2
7172
}
7273

7374
start() {

loading.conf

-479 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)