View file File name : linux-image-6.6.49-grsec-jammy+.postrm Content : #!/bin/sh set -e # Pass maintainer script parameters to hook scripts export DEB_MAINT_PARAMS="$*" # Tell initramfs builder whether it's wanted export INITRD=Yes if [ "postrm" = "preinst" -a "Yes" = "Yes" ]; then chmod -f 700 /boot 2> /dev/null || true chmod -f 700 /lib/modules 2> /dev/null || true chmod -f 700 /lib32/modules 2> /dev/null || true chmod -f 700 /lib64/modules 2> /dev/null || true fi test -d /etc/kernel/postrm.d && run-parts --arg="6.6.49-grsec-jammy+" --arg="/boot/vmlinuz-6.6.49-grsec-jammy+" /etc/kernel/postrm.d exit 0