#! /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