-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
56 lines (38 loc) · 936 Bytes
/
install.sh
File metadata and controls
56 lines (38 loc) · 936 Bytes
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
49
50
51
52
53
54
55
#!/usr/bin/env sh
#
# Script de instalacao modulos MacBook
#
# Desenvolvido por:
#
# Marcos R Carvalho,
# Security Architect | Azion
#
###############################################
echo "Instalando dependencias..."
apt update
apt install linux-headers-generic git kmod libssl-dev checkinstall install xz-utils curl cpio make -y
apt install xserver-xorg-video-nouveau -y
apt install nvidia-driver-390 -y
apt install bcmwl-kernel-source -y
echo "Baixando driver bcwc_pcie"
git clone https://github.com/patjak/facetimehd-firmware.git
cd facetimehd-firmware
make
make install
cd ..
git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
echo "Compilando modulos"
make
echo "Instalando Pacotes"
make install
depmod
echo "Carregando modulo"
modprobe facetimehd
echo "Modulo Instalado com sucesso!"
echo
echo "Atualizando sistema"
apt update && apt upgrade -y
echo "Pressione [enter] para reiniciar"
read
reboot