0byt3m1n1
Path:
/
var
/
lib
/
dpkg
/
info
/
[
Home
]
File: lvm2.postrm
#!/bin/sh set -e # Automatically added by dh_installsystemd/11.1.6ubuntu2 if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/11.1.6ubuntu2 if [ "$1" = "purge" ] ; then update-rc.d lvm2-lvmpolld remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/11.1.6ubuntu2 if [ "$1" = "purge" ] ; then update-rc.d lvm2-lvmetad remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/11.1.6ubuntu2 if [ "$1" = "purge" ] ; then update-rc.d lvm2 remove >/dev/null fi # In case this system is running systemd, we make systemd reload the unit files # to pick up changes. if [ -d /run/systemd/system ] ; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/11.1.6ubuntu2 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'lvm2-lvmetad.socket' 'lvm2-lvmpolld.socket' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'lvm2-lvmetad.socket' 'lvm2-lvmpolld.socket' >/dev/null || true deb-systemd-helper unmask 'lvm2-lvmetad.socket' 'lvm2-lvmpolld.socket' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/11.1.6ubuntu2 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'blk-availability.service' 'lvm2-monitor.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'blk-availability.service' 'lvm2-monitor.service' >/dev/null || true deb-systemd-helper unmask 'blk-availability.service' 'lvm2-monitor.service' >/dev/null || true fi fi # End automatically added section