Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ -f pi-gen/stage0/SKIP ]; then
- echo "SKIP file found. Removing SKIP files"
- sudo rm pi-gen/stage0/SKIP
- sudo rm pi-gen/stage1/SKIP
- sudo rm pi-gen/stage2/SKIP
- exit
- else
- echo "No SKIP file found. Creating SKIP files."
- sudo touch pi-gen/stage0/SKIP
- sudo touch pi-gen/stage1/SKIP
- sudo touch pi-gen/stage2/SKIP
- exit
- fi
Add Comment
Please, Sign In to add comment