Created
November 18, 2016 01:57
-
-
Save eru/071946b43cac4d91a3a6db3391ff58d3 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 | |
# | |
# clear-kernel-cache.sh | |
# Copyright (C) 2016 Kazuki Hashimoto <eru.tndl@gmail.com> | |
# | |
# Distributed under terms of the MIT license. | |
# | |
sudo rm -r /System/Library/Caches/com.apple.kext.caches | |
sudo touch /System/Library/Extensions | |
sudo kextcache -update-volume / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment