Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env sh
ZENSTATES=/home/samantha/bin/zenstates.py
if [ "$1" = 'post' ]; then
if "$ZENSTATES" --c6-enable; then
echo "Enabled c6 cpu state"
else
echo "Failed to enable c6 cpu state"
fi
else
if "$ZENSTATES" --c6-disable; then
echo "Disabled c6 cpu state"
else
echo "Failed to disable c6 cpu state"
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.