]> git.proxmox.com Git - pve-manager.git/blob - debian/postrm
add startall/stopall API and init script
[pve-manager.git] / debian / postrm
1 #! /bin/sh
2
3 # Abort if any command returns an error value
4 set -e
5
6 if [ "$1" = purge ]; then
7 update-rc.d pvedaemon remove >/dev/null 2>&1
8 update-rc.d pvestatd remove >/dev/null 2>&1
9 update-rc.d pvebanner remove >/dev/null 2>&1
10 update-rc.d pvenetcommit remove >/dev/null 2>&1
11 update-rc.d pve-manager remove >/dev/null 2>&1
12
13 if [ -e /usr/share/debconf/confmodule ]; then
14 . /usr/share/debconf/confmodule
15 db_purge
16 fi
17 fi