Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.53 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.53 KB

UsefullScipts

A repo of small useful scripts that i wrote.

  • sysinfo :Provides a summary of information about macOS system.
###Usage
bash <(curl -s https://raw.githubusercontent.com/XLNCs/UsefullScripts/master/sysinfo.sh)

sysinfosc


  • cpunamefix :Set the correct or a custom CPU name in 'About This Mac
###Usage
bash <(curl -s https://raw.githubusercontent.com/XLNCs/UsefullScripts/master/cpunamefix.sh)

NOTE : If your 'About This Mac' window still doesnt show the correct CPU name then set the CPU 'Type' to 'Unknown' in your clover config.plist and reboot. cpunamefix


  • kerntool :Rebuild kernel caches or install kernel on macOS
###Usage
curl -s -o ~/Desktop/kerntool.sh https://raw.githubusercontent.com/XLNCs/UsefullScripts/master/kerntool.sh && 
chmod +x ~/Desktop/kerntool.sh

Usage:  kerntool.sh [ -r | -k | -ke ]
      ./kerntool.sh -r                                      :  Rebuilds caches only
      ./kerntool.sh -k <kernel-file>                        :  Installs provided kernel then rebuilds caches
      ./kerntool.sh -ke <kernel-file> <System.kext-file>    :  Installs provided kernel and system.kext then rebuilds caches

Example:
      ./kerntool.sh -k ~/Desktop/kernel
      ./kerntool.sh -k ~/Desktop/kernel.test                   [ Use Bootflag : kcsuffix=test ]
      ./kerntool.sh -ke ~/Desktop/kernel ~/Desktop/System.kext

kerntool