您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

stop-target 346B

123456789101112131415161718
  1. #!/bin/sh
  2. if [ -z "$USE_LXC" ]; then
  3. if [ ! -e var/target.pid ]; then exit; fi
  4. on-target -u root halt
  5. sleep 5
  6. if [ ! -e var/target.pid ]; then exit; fi
  7. sleep 5
  8. if [ ! -e var/target.pid ]; then exit; fi
  9. echo Killing target since it did not shutdown within 10 seconds
  10. kill `cat var/target.pid`
  11. else
  12. true
  13. fi