This file is indexed.

/usr/sbin/update-grub is in grub2-common 2.02~beta2-9ubuntu1.6.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

1
2
3
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"