D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
lib
/
dpkg
/
info
/
Filename :
lvm2.postrm
back
Copy
#!/bin/sh set -e # Automatically added by dh_installinit/12.9ubuntu1 if [ "$1" = "purge" ] ; then update-rc.d lvm2-lvmpolld remove >/dev/null fi # End automatically added section # Automatically added by dh_installinit/12.9ubuntu1 if [ "$1" = "purge" ] ; then update-rc.d lvm2 remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/12.9ubuntu1 dpkg-maintscript-helper rm_conffile /etc/init.d/lvm2-lvmetad 2.03.02-2\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/12.9ubuntu1 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask '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-lvmpolld.socket' >/dev/null || true deb-systemd-helper unmask 'lvm2-lvmpolld.socket' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/12.9ubuntu1 if [ -d /run/systemd/system ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/12.9ubuntu1 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