403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.243.239
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
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 :


[ Back ]     

Current File : /usr/share/initramfs-tools/hooks/sg3-utils
#!/bin/sh
# (based on multipath-tools-boot)

PREREQS="udev"

prereqs() { echo "$PREREQS"; }

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

if [ ! -x /usr/bin/sg_inq ]; then
	exit 0
fi

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

add_udev_rules()
{
  for rules in 55-scsi-sg3_id.rules 58-scsi-sg3_symlink.rules; do
    if [ -e /lib/udev/rules.d/$rules ]; then
      cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/
    fi
  done
}

copy_exec /usr/bin/sg_inq

add_udev_rules


Youez - 2016 - github.com/yon3zu
LinuXploit