403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.197.209
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/systemd.postrm
#!/bin/sh

set -e

case "$1" in
    purge)
        # clean up after manually enabled units in postinst
        rm -f /etc/systemd/system/getty.target.wants/[email protected]
        rm -f /etc/systemd/system/multi-user.target.wants/remote-fs.target
        rm -f /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
        rm -f /etc/systemd/system/dbus-org.freedesktop.timesync1.service
        rm -f /etc/systemd/system/sysinit.target.wants/systemd-pstore.service
        rmdir --ignore-fail-on-non-empty /etc/systemd/system/getty.target.wants 2> /dev/null || true
        rmdir --ignore-fail-on-non-empty /etc/systemd/system/multi-user.target.wants 2> /dev/null || true
        rmdir --ignore-fail-on-non-empty /etc/systemd/system/sysinit.target.wants 2> /dev/null || true

        # If we created tmp.conf for compatibility with pre-Trixie, remove it (it is intentionally orphaned)
        if [ -f /etc/tmpfiles.d/tmp.conf ] && [ "$(cat /etc/tmpfiles.d/tmp.conf)" = "D /tmp 1777 root root -" ]; then
                rm -f /etc/tmpfiles.d/tmp.conf
        fi

        rm -f /var/lib/systemd/catalog/database
        rmdir --ignore-fail-on-non-empty /var/lib/systemd/catalog 2> /dev/null || true

        rm -rf /var/lib/systemd/network/
        rm -rf /var/lib/systemd/backlight/
        rm -rf /var/lib/systemd/rfkill/
        rm -rf /var/lib/systemd/timesync/
        rm -rf /var/lib/systemd/ephemeral-trees/

        rm -f /var/lib/systemd/random-seed

        rm -f /var/log/README
        rmdir --ignore-fail-on-non-empty /var/lib/systemd/pstore/ 2> /dev/null || true
        rmdir --ignore-fail-on-non-empty /var/lib/systemd/coredump/ 2> /dev/null || true
        rmdir --ignore-fail-on-non-empty /var/log/journal 2> /dev/null || true
    ;;
esac

# Automatically added by dh_installdeb/13.24.1ubuntu2
dpkg-maintscript-helper rm_conffile /etc/systemd/resolved.conf 251.3-2\~ -- "$@"
# End automatically added section


Youez - 2016 - github.com/yon3zu
LinuXploit