Last active
July 21, 2022 05:28
-
-
Save djinn/5e2aa8a199de633c08edaaf6df8ad678 to your computer and use it in GitHub Desktop.
To reduce battery usage in Mac when using Yubikey Nano
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 | |
# Author Supreet Sethi <[email protected]> | |
# Dated Thu Jul 21 13:26:06 +08 2022 | |
# Instructions - wget <script>; chmod +x yubikey.sh; ./yubikey.sh | |
sudo pmset -a hibernatemode 25 && sudo pmset -a standbydelay 15 | |
echo "Yubikey hibernation changes installed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment