0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.224.70.239


Current Path : /proc/thread-self/root/etc/kernel/postrm.d/
Upload File :
Current File : //proc/thread-self/root/etc/kernel/postrm.d/x-grub-legacy-ec2

#!/bin/sh

version="$1"
bootopt=""

# passing the kernel version is required
[ -z "${version}" ] && exit 0

# avoid running multiple times
if [ -n "$DEB_MAINT_PARAMS" ]; then
	eval set -- "$DEB_MAINT_PARAMS"
	if [ -z "$1" ] || [ "$1" != "remove" ]; then
		exit 0
	fi
fi

update=/usr/sbin/update-grub-legacy-ec2
[ ! -x "${update}" ] || exec "${update}"