????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : 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,
MySQL : ON  |  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 :


[ Back ]     

Current File : /usr/share/initramfs-tools/hooks/amd64_microcode
#!/bin/sh
# amd64-microcode initramfs-tools hook script
# Copyright (C) 2012,2013 Henrique de Moraes Holschuh <hmh@debian.org>
# Released under the GPL v2 or later license
#
# Generates a copy of the minimal microcode for the current system if
# possible, and installs it in the initramfs.
#

PREREQ=""

prereqs()
{
   echo "$PREREQ"
}

case $1 in
prereqs)
   prereqs
   exit 0
   ;;
esac

. /usr/share/initramfs-tools/hook-functions

verbose()
{
	if [ "${verbose}" = "y" ] ; then
		echo "amd64-microcode: $@"
	fi
	:
}

AUCODE_FW_DIR=/lib/firmware/amd-ucode

if [ ! -d "${AUCODE_FW_DIR}" ] ; then
	verbose "no AMD64 processor microcode datafiles to install"
	exit 0;
fi

if grep -q "^vendor_id[[:blank:]]*:[[:blank:]]*.*AuthenticAMD" /proc/cpuinfo || [ "$MODULES" = "most" ]; then
	# See Debian bug #716917.  Blacklist all non-LTS/non-Debian kernel versions
	# before kernel 3.4  Only known-bad kernel is 2.6.38.
	#
	# This doesn't blacklist early kernels in the LTS branches, we don't have enough
	# information at the initramfs-tools layer, due to the way Debian and Ubuntu version
	# kernel packages.

	if dpkg --compare-versions ${version} le 3.4 && \
	     { dpkg --compare-versions ${version} lt 2.6.32 || \
	      { dpkg --compare-versions ${version} ge 2.6.33 && dpkg --compare-versions ${version} lt 3.0 ; } || \
	      { dpkg --compare-versions ${version} ge 3.1 && dpkg --compare-versions ${version} lt 3.2 ; } || \
	      dpkg --compare-versions ${version} ge 3.3 ; \
	     }; then
		echo "E: amd64-microcode: unsupported kernel version!" >&2
		exit 0
	fi

	verbose "installing all microcode datafiles for AMD64 processors"

	# Generate firmware dir
	mkdir -m 755 -p "${DESTDIR}${AUCODE_FW_DIR}" || true
	cp -fr "${AUCODE_FW_DIR}/." "${DESTDIR}${AUCODE_FW_DIR}/."

	if ! rmdir "${DESTDIR}${AUCODE_FW_DIR}" 2>/dev/null ; then
		# The directory was not empty, so we have work to do
		verbose "installing AMD64 processor microcode update support into initramfs..."
		force_load microcode
	fi
fi

:

Youez - 2016 - github.com/yon3zu
LinuXploit