Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.129.45.187
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/2/root/proc/2/cwd/proc/3/root/var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/2/root/proc/2/cwd/proc/3/root/var/lib/dpkg/info/exim4-base.postrm
#!/bin/sh

set -e

if [ -e /usr/share/debconf/confmodule ] ; then
  . /usr/share/debconf/confmodule
  export debconfavailable="yes"
fi

if [ -n "$EX4DEBUG" ]; then
  echo "now debugging $0 $@"
  set -x
fi

case "$1" in
    remove)
    # work around apt purging -base before even removing -daemon #261994.
    # postrm is good enough, we just need the init-script which is a conffile.
    	if [ -x /etc/init.d/exim4 ]; then
                if [ -n "$EX4DEBUG" ]; then
                  netstat -tulpen
                  ls -al /run/exim4/
                  cat /run/exim4/exim.pid
                  pidof exim4
                fi
		invoke-rc.d exim4 stop
                if [ -n "$EX4DEBUG" ]; then
                  netstat -tulpen
                  ls -al /run/exim4/
                  cat /run/exim4/exim.pid
                  pidof exim4
                  if pidof exim4; then
                    echo >&2 "WARN: There are some exim4 processes still running after stopping exim"
                  fi
                fi
	fi
	rm -f /var/lib/exim4/berkeleydbvers.txt \
		/var/spool/exim4/gnutls-params-2048 
    ;;
    purge)
	update-rc.d exim4 remove > /dev/null

	# ask about purging mailqueue if debconf is available, keep it
	# otherwise
	if [ -e /var/spool/exim4/input ] \
		&& ! rmdir /var/spool/exim4/input 2>/dev/null \
		&& [ "$debconfavailable" = "yes" ]; then
		db_version 2.0
		db_input medium exim4/purge_spool || true
		db_go || true
		db_get exim4/purge_spool
		purge_spool="$RET"
		if [ "${purge_spool}" = "true" ] ; then 
			rm -rf /var/spool/exim4/input
		fi
	fi
							
	# remove logs and pid-dir.
	rm -rf /run/exim4 /var/log/exim4 /var/spool/exim4/msglog \
		/var/spool/exim4/db /var/spool/exim4/exim-process.info \
		/var/spool/exim4/gnutls-params*
	rmdir /var/spool/exim4 /var/lib/exim4 2> /dev/null || true
	;;
esac

# Automatically added by dh_installsystemd/13.11.4
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.11.4
if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'exim4-base.timer' >/dev/null || true
	fi
fi
# End automatically added section
# Automatically added by dh_installdebconf/13.11.4
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section


Anon7 - 2022
AnonSec Team