2012-05-29 12:30:26 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Kernel post-remove hook for dracut.
|
|
|
|
#
|
|
|
|
# Arguments passed to this script: $1 pkgname, $2 version.
|
|
|
|
#
|
|
|
|
PKGNAME="$1"
|
|
|
|
VERSION="$2"
|
|
|
|
|
2013-01-04 06:13:23 +00:00
|
|
|
if [ -f /boot/initramfs-${VERSION}.img ]; then
|
|
|
|
rm -f /boot/initramfs-${VERSION}.img
|
2012-05-29 12:30:26 +00:00
|
|
|
fi
|
|
|
|
exit $?
|