OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17200
/
usr
/
share
/
initramfs-tools
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/07/2024 08:52:16 AM
rwxr-xr-x
📄
compcache.hooks.diverted
3.52 KB
10/07/2019 10:53:35 AM
rwxr-xr-x
📁
conf-hooks.d
-
09/24/2020 02:02:02 PM
rwxr-xr-x
📁
conf.d
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
console_setup.hooks.diverted
3.02 KB
04/10/2019 09:25:58 PM
rwxr-xr-x
📄
console_setup.init.top.diverted
3.41 KB
04/10/2019 09:25:58 PM
rwxr-xr-x
📄
console_setup.panic.diverted
3.4 KB
04/10/2019 09:25:58 PM
rwxr-xr-x
📄
hook-functions
18.49 KB
10/07/2019 10:53:35 AM
rw-r--r--
📁
hooks
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
init
6.78 KB
10/07/2019 10:53:35 AM
rwxr-xr-x
📄
kbd.hooks.diverted
301 bytes
09/22/2016 05:33:20 PM
rwxr-xr-x
📄
modules
357 bytes
10/07/2019 10:53:35 AM
rw-r--r--
📁
modules.d
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📁
scripts
-
02/18/2024 07:58:21 PM
rwxr-xr-x
📄
thermal.hooks.diverted
1.25 KB
10/07/2019 10:53:35 AM
rwxr-xr-x
Editing: thermal.hooks.diverted
Close
#!/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 # therm_pm72 or one of the windfarm_pm* modules. [ -r /proc/cpuinfo ] || exit 0 MODEL="`grep model /proc/cpuinfo`" MODEL="${MODEL##*: }" case "$MODEL" in RackMac3,1|PowerMac7,2|PowerMac7,3) force_load therm_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