Guest User

Untitled

a guest
Feb 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ -f pi-gen/stage0/SKIP ]; then
  4. echo "SKIP file found. Removing SKIP files"
  5. sudo rm pi-gen/stage0/SKIP
  6. sudo rm pi-gen/stage1/SKIP
  7. sudo rm pi-gen/stage2/SKIP
  8. exit
  9. else
  10. echo "No SKIP file found. Creating SKIP files."
  11. sudo touch pi-gen/stage0/SKIP
  12. sudo touch pi-gen/stage1/SKIP
  13. sudo touch pi-gen/stage2/SKIP
  14. exit
  15. fi
Add Comment
Please, Sign In to add comment