Server : Apache System : Linux enhance01.hostingraja.org 5.15.0-144-generic #157-Ubuntu SMP Mon Jun 16 07:33:10 UTC 2025 x86_64 User : webdemo_4 ( 4864) PHP Version : 7.4.33 Disable Function : NONE Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh set -e # adapted from postinst chrooted() { if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ]; then return 1 fi return 0 } kill_udevd() { if [ -d /run/systemd/system ]; then systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemctl stop systemd-udevd.service else invoke-rc.d udev stop fi } case "$1" in remove) if ! chrooted; then kill_udevd fi ;; esac