403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.197.208
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/rygel.postinst
#! /bin/sh
set -e

case "$1" in
	configure)
		# Disable the job by default for users updating from a buggy version
		if dpkg --compare-versions "$2" lt-nl 0.38.2-2; then
			if deb-systemd-helper --user --quiet was-enabled 'rygel.service'; then
				printf "Disable user unit that shouldn't have been auto enabled\n"
				deb-systemd-helper --user disable 'rygel.service' >/dev/null || true
			fi
		fi

		dpkg-trigger rygel-restart
		;;

	triggered)
		# both "/usr/lib/rygel-2.2" and "rygel-restart" triggers
		# should result in rygel being restarted.

		# make running rygel processes restart themselves.
		PIDS=$(pidof /usr/bin/rygel || true)
		if [ "$PIDS" != "" ]; then
			kill -HUP $PIDS
			echo "Running rygel instances was told to restart."
		fi
	;;

	*)
	;;
esac

# Automatically added by dh_installsystemduser/13.24.1ubuntu2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -z "$DPKG_ROOT" ]; then
		if deb-systemd-helper --user debian-installed 'rygel.service' ; then
			# The following line should be removed in trixie or trixie+1
			deb-systemd-helper --user unmask 'rygel.service' >/dev/null || true

			if deb-systemd-helper --quiet --user was-enabled 'rygel.service' ; then
				# Create new symlinks, if any.
				deb-systemd-helper --user enable 'rygel.service' >/dev/null || true
			fi
		fi

		# Update the statefile to add new symlinks (if any), which need to be cleaned
		# up on purge. Also remove old symlinks.
		deb-systemd-helper --user update-state 'rygel.service' >/dev/null || true
	fi
fi
# End automatically added section



Youez - 2016 - github.com/yon3zu
LinuXploit