Last active
February 9, 2018 18:59
-
-
Save Landrash/99ab1b6a44ffef7dbbb7fa71dde028be to your computer and use it in GitHub Desktop.
Quick SKIP script for the hassbian pi-gen script.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment