forked from RehabMan/OS-X-Clover-Laptop-Config
-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_downloads.sh
executable file
·48 lines (36 loc) · 1.04 KB
/
install_downloads.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
#set -x
# customize EXCEPTIONS and ESSENTIAL as needed
EXCEPTIONS=
ESSENTIAL=
# customize HDA to indicate your HDA resources/HDA codec
#HDA=ALC283
# include subroutines
source "$(dirname ${BASH_SOURCE[0]})"/_tools/_install_subs.sh
warn_about_superuser
# install tools
install_tools
# remove old kexts
# EHCI is disabled, so no need for FakePCIID_XHCIMux.kext
remove_deprecated_kexts
#remove_kext FakePCIID_XHCIMux.kext
# remove other kexts not used anymore...
#remove_kext Example.kext
# install required kexts
install_download_kexts
install_brcmpatchram_kexts
install_backlight_kexts
# install special download kexts
# for example, if you need FakePCIID_XHCIMux.kext
#install_fakepciid_xhcimux
# or other special FakePCIID injectors
#install_kext _downloads/kexts/RehabMan-FakePCIID*/Release/FakePCIID_AR9280_as_AR946x.kext
# create/install patched AppleHDA files
install_hda
# LiluFriend and kernel cache rebuild
finish_kexts
# update kexts on EFI/CLOVER/kexts/Other
update_efi_kexts
# VoodooPS2Daemon is deprecated
remove_voodoops2daemon
#EOF