run.sh 155 B

12345678910111213141516
  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. while true
  8. do
  9. ./gsd
  10. sleep 2
  11. done