pve-kernel-meta/debian/postinst.in
Fabian Grünbichler 43a34d0696 initial commit
based on proxmox-ve.git and pve-kernel.git
2018-03-06 09:16:31 +01:00

16 lines
339 B
Bash
Executable File

#! /bin/sh
# Abort if any command returns an error value
set -e
case "$1" in
configure)
# setup kernel links for installation CD (rescue boot)
mkdir -p /boot/pve
ln -sf /boot/vmlinuz-@KERNEL_ABI@ /boot/pve/vmlinuz-@KERNEL_VER@
ln -sf /boot/initrd.img-@KERNEL_ABI@ /boot/pve/initrd.img-@KERNEL_VER@
;;
esac
exit 0