#!/bin/sh
#
# Kernel post-install hook for initramfs-tools.
# Arguments passed to this script: $1 pkgname, $2 version.
PKGNAME="$1"
VERSION="$2"
if [ ! -x /usr/sbin/update-initramfs ]; then
exit 0
fi
update-initramfs -c -t -k ${VERSION}
exit $?