-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpuinit_killer.sh
More file actions
executable file
·57 lines (56 loc) · 978 Bytes
/
cpuinit_killer.sh
File metadata and controls
executable file
·57 lines (56 loc) · 978 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
56
57
#!/bin/bash
killer() {
find -type f | xargs sed -i "s/ __cpuinit / /g"
find -type f | xargs sed -i "s/ __cpuexit / /g"
find -type f | xargs sed -i "s/ __cpuinitdata//g"
find -type f | xargs sed -i "s/ __cpuinit$//g"
find -type f | xargs sed -i "s/^__cpuinit //g"
}
#define __devinit
#define __devinitdata
#define __devinitconst
#define __devexit
#define __devexitdata
#define __devexitconst
#define __devexit_p(x) x
cd ~/machinex/arch
killer
cd ~/machinex/block
killer
cd ~/machinex/crypto
killer
cd ~/machinex/Documentation
killer
cd ~/machinex/drivers
killer
cd ~/machinex/firmware
killer
cd ~/machinex/fs
killer
cd ~/machinex/init
killer
cd ~/machinex/ipc
killer
cd ~/machinex/kernel
killer
cd ~/machinex/lib
killer
cd ~/machinex/mm
killer
cd ~/machinex/net
killer
cd ~/machinex/samples
killer
cd ~/machinex/scripts
killer
cd ~/machinex/security
killer
cd ~/machinex/sound
killer
cd ~/machinex/tools
killer
cd ~/machinex/usr
killer
cd ~/machinex/virt
killer
echo "complete"