pve-manager/debian/postrm
2013-06-26 13:21:14 +02:00

20 lines
543 B
Bash
Executable File

#! /bin/sh
# Abort if any command returns an error value
set -e
if [ "$1" = purge ]; then
update-rc.d pvedaemon remove >/dev/null 2>&1
update-rc.d pveproxy remove >/dev/null 2>&1
update-rc.d spiceproxy remove >/dev/null 2>&1
update-rc.d pvestatd remove >/dev/null 2>&1
update-rc.d pvebanner remove >/dev/null 2>&1
update-rc.d pvenetcommit remove >/dev/null 2>&1
update-rc.d pve-manager remove >/dev/null 2>&1
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
fi