#!/bin/sh # This is an IPFire helper script for GRUB to enable the serial console # on AWS instances at the time of the first boost set -e # Do nothing if first boot isn't enabled if [ "${GRUB_FIRST_BOOT}" != "true" ]; then exit 0 fi . "${pkgdatadir}/grub-mkconfig_lib" if [ -z "${KERNEL_RELEASE}" ]; then KERNEL_RELEASE="$(uname -r)" fi if [ -z "${boot_device_id}" ]; then boot_device_id="$(grub_get_device_id "${GRUB_DEVICE}")" fi cat <