Created
March 17, 2015 13:07
-
-
Save fourdollars/f31bca63f8f06d62aace to your computer and use it in GitHub Desktop.
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/sh | |
find /sys -name control | grep -v debug | while read file; do | |
if [ "$(cat $file)" = "auto" ]; then | |
echo "$file is still auto." | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment