Skip to content

Commit

Permalink
Restore sleep settings to default #9
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankk2308 committed Jun 1, 2018
1 parent 144e1fa commit 3da2910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $ purge-wrangler
Many thanks to **@itsage**, **@fricorico**, **@goalque**, and many others at [egpu.io](https://egpu.io) for the insightful discussion that led me to the fix.

## Disclaimer
This script moves core system files associated with macOS. While any of the potential issues with its application are recoverable, please use this script at your discretion. I will not be liable for any damages to your operating system.
This script moves core system files associated with macOS. While any of the potential issues with its application are recoverable, please use this script at your discretion. I will not be liable for any damages to your system.

## License
See the license file for more information.
Expand Down
4 changes: 1 addition & 3 deletions purge-wrangler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,7 @@ restore_sleep()
{
echo "\n>> ${BOLD}Restore Sleep Configuration${NORMAL}\n"
echo "${BOLD}Restoring default sleep settings...${NORMAL}"
pmset -a autopoweroff 1
pmset -a standby 1
pmset -a hibernatemode 3
pmset -c 2 -b 1 -u 1
echo "Restore complete.\n"
}

Expand Down

0 comments on commit 3da2910

Please sign in to comment.