]> git.proxmox.com Git - pve-kernel-jessie.git/blame - proxmox-ve/postrm
add scheduler fix for ceph on numa hosts
[pve-kernel-jessie.git] / proxmox-ve / postrm
CommitLineData
81c0c4aa
DM
1#! /bin/sh
2
3# Abort if any command returns an error value
4set -e
5
6case "$1" in
7 purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
8 # remove kernel symlinks
9 rm -f /boot/pve/vmlinuz
10 rm -f /boot/pve/initrd.img
50cc724a 11 rmdir --ignore-fail-on-non-empty /boot/pve/ || true
81c0c4aa
DM
12 ;;
13
14 *)
15 echo "postrm called with unknown argument \`$1'" >&2
16 exit 1
17 ;;
18esac
19