403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.216.201
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/dracut/modules.d/90ppcmac/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/dracut/modules.d/90ppcmac/load-thermal.sh
#!/usr/bin/sh
#
# This hook attempts to load the appropriate thermal modules
# for PowerPC Macs depending on the specific machine you have.

[ -r /proc/cpuinfo ] || exit 0

load_windfarm() {
    local pm_model
    pm_model="$(sed -n '/model/p' /proc/cpuinfo)"
    pm_model="${pm_model##*: }"

    # load quietly and respect the blacklist
    # this way if the modules are for some reason missing, it will
    # still exit successfully and not affect the boot process
    case "$pm_model" in
        PowerMac3,6) modprobe -b -q therm_windtunnel ;;
        PowerMac7,2 | PowerMac7,3) modprobe -b -q windfarm_pm72 ;;
        PowerMac8,1 | PowerMac8,2) modprobe -b -q windfarm_pm81 ;;
        PowerMac9,1) modprobe -b -q windfarm_pm91 ;;
        PowerMac11,2) modprobe -b -q windfarm_pm112 ;;
        PowerMac12,1) modprobe -b -q windfarm_pm121 ;;
        RackMac3,1) modprobe -b -q windfarm_rm31 ;;
        *) ;;
    esac

    return 0
}

load_windfarm

Youez - 2016 - github.com/yon3zu
LinuXploit