Server IP : 192.168.23.10  /  Your IP : 3.146.176.112
Web Server : Apache
System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64
User : rrrallyteam ( 1049)
PHP Version : 8.1.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /lib/dracut/modules.d/90ppcmac/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //lib/dracut/modules.d/90ppcmac/load-thermal.sh
#!/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