⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.149
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
initramfs-tools
/
hooks
/
View File Name :
thermal
#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac # Hooks for loading thermal bits into the initramfs . /usr/share/initramfs-tools/hook-functions case "$DPKG_ARCH" in # copy the right modules powerpc|ppc64) # Only G5 Mac machines need to load # windfarm_core or one of the windfarm_pm* modules. [ -r /proc/cpuinfo ] || exit 0 MODEL="$(grep model /proc/cpuinfo)" MODEL="${MODEL##*: }" case "$MODEL" in RackMac3,1) force_load windfarm_rm31 ;; PowerMac7,2|PowerMac7,3) force_load windfarm_pm72 ;; PowerMac8,1|PowerMac8,2) force_load windfarm_pm81 ;; PowerMac9,1) force_load windfarm_pm91 ;; PowerMac11,2) force_load windfarm_pm112 ;; PowerMac12,1) force_load windfarm_pm121 ;; *) # No other machine needs windfarm_* modules on initrd. exit 0 ;; esac manual_add_modules windfarm_core manual_add_modules windfarm_cpufreq_clamp manual_add_modules windfarm_lm75_sensor manual_add_modules windfarm_max6690_sensor manual_add_modules windfarm_pid manual_add_modules windfarm_smu_controls manual_add_modules windfarm_smu_sat manual_add_modules windfarm_smu_sensors ;; i386|amd64|ia64) manual_add_modules fan manual_add_modules thermal ;; esac