HEX
Server: Apache
System: Linux pdx1-shared-a1-29 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_bj99yp (22285841)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/linux-image-6.6.116-grsec-jammy-dirty.postinst
#!/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 [ "postinst" = "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/postinst.d && run-parts --arg="6.6.116-grsec-jammy-dirty" --arg="/boot/vmlinuz-6.6.116-grsec-jammy-dirty" /etc/kernel/postinst.d
exit 0