Skip to content

Instantly share code, notes, and snippets.

@fourdollars
Created March 17, 2015 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourdollars/f31bca63f8f06d62aace to your computer and use it in GitHub Desktop.
Save fourdollars/f31bca63f8f06d62aace to your computer and use it in GitHub Desktop.
#!/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