403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.197.209
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
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/linux-sound-base.postinst
#!/bin/sh

set -e

. /usr/share/debconf/confmodule
db_version 2.0

case "$1" in
configure|reconfigure)
	if dpkg --compare-versions "$2" lt "1.0.23+dfsg-1ubuntu4"; then
		if [ -L /etc/modprobe.d/blacklist-oss ]; then
			mv /etc/modprobe.d/blacklist-oss \
			   /etc/modprobe.d/blacklist-oss.conf
		fi
		if [ -L /etc/modprobe.d/blacklist-alsa ]; then
			mv /etc/modprobe.d/blacklist-alsa \
			   /etc/modprobe.d/blacklist-alsa.conf
		fi
	fi
	db_get linux-sound-base/sound_system || :
	case "$RET" in
	OSS)
		rm -f /etc/modprobe.d/blacklist-oss.conf
		rm -f /etc/modprobe.d/blacklist-oss
		rm -f /etc/modprobe.d/linux-sound-base_noOSS
		ln -sf /lib/linux-sound-base/noALSA.modprobe.conf \
			/etc/modprobe.d/blacklist-alsa.conf
		;;
	ALSA)
		rm -f /etc/modprobe.d/blacklist-alsa.conf
		rm -f /etc/modprobe.d/blacklist-alsa
		rm -f /etc/modprobe.d/linux-sound-base_noALSA
		ln -sf /lib/linux-sound-base/noOSS.modprobe.conf \
			/etc/modprobe.d/blacklist-oss.conf
		;;
	esac
	;;
abort-upgrade|abort-remove|abort-deconfigure)
	# We don't have to do anything because we didn't do anything in prerm
	exit 0
	;;
*)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 1
	;;
esac



db_stop || :

Youez - 2016 - github.com/yon3zu
LinuXploit