HEX
Server: Apache
System: Linux pdx1-shared-a2-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_hwg2wc (6369923)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/linux-image-6.6.116-grsec-jammy-dirty.prerm
#!/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 [ "prerm" = "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/prerm.d && run-parts --arg="6.6.116-grsec-jammy-dirty" --arg="/boot/vmlinuz-6.6.116-grsec-jammy-dirty" /etc/kernel/prerm.d
exit 0