[*] 脚本
This commit is contained in:
@@ -8,10 +8,10 @@ if [ ! -z "$processId" ]; then
|
||||
while [ ! -z "$processId" ]
|
||||
do
|
||||
echo -n "."
|
||||
if [ "$killIndex" -le 0 ]; then
|
||||
if [ $killIndex -le 0 ]; then
|
||||
# 优雅关机
|
||||
kill -15 $processId
|
||||
elif [ "$killIndex" -ge 10 ]; then
|
||||
elif [ $killIndex -ge 10 ]; then
|
||||
echo -n '强制关闭'
|
||||
# 强制关机
|
||||
kill -9 $processId
|
||||
|
||||
Reference in New Issue
Block a user