run.sh 165 B

123456789101112131415161718
  1. #!/bin/bash
  2. # 创建日志文件
  3. if [ ! -d "/home/GSD/log/birdy" ]; then
  4. mkdir -p /home/GSD/log/birdy
  5. fi
  6. cd bin
  7. sleep 15
  8. while true
  9. do
  10. ./gsd
  11. sleep 2
  12. done