Uname:Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64

403WebShell
403Webshell
Server IP : 13.126.101.145  /  Your IP : 216.73.217.50
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.17
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/ec2-hibinit-agent.postrm
#!/bin/sh

set -e

# Automatically added by dh_systemd_start/13.6ubuntu1
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable/13.6ubuntu1
if [ "$1" = "remove" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper mask 'hibinit-agent.service' >/dev/null || true
	fi
fi

if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'hibinit-agent.service' >/dev/null || true
		deb-systemd-helper unmask 'hibinit-agent.service' >/dev/null || true
	fi
fi
# End automatically added section


case "$1" in
    remove)
        deb-systemd-invoke restart systemd-logind.service || true
        ;;
    purge)
        invoke-rc.d acpid restart > /dev/null || true
        deb-systemd-invoke restart systemd-logind.service || true
        # clean up dynamically added conffile if exists
        rm -f /etc/default/grub.d/99-set-swap.cfg
        update-grub2 || true
        swapoff /swap-hibinit > /dev/null 2>&1 || true
        rm -f /swap-hibinit
        ;;
    *)
        ;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit