Dietmar Maurer eccbe1c5d8 remove apache2 dependency
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00

19 lines
493 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 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