D7net Mini Sh3LL v1
OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /var/lib/dpkg/info/ |
|
Current File : /var/lib/dpkg/info/linux-modules-extra-5.4.0-198-generic.postinst |
#!/bin/sh
set -e
version=5.4.0-198-generic
image_path=/boot/vmlinuz-$version
if [ "$1" != configure ]; then
exit 0
fi
depmod -a -F /boot/System.map-$version $version || true
if [ -d /etc/kernel/postinst.d ]; then
cat - >/usr/lib/linux/triggers/$version <<EOF
DEB_MAINT_PARAMS="$*" run-parts --report --exit-on-error --arg=$version \
--arg="$image_path" /etc/kernel/postinst.d
EOF
dpkg-trigger --no-await linux-update-$version
fi
exit 0
AnonSec - 2021 | Recode By D7net