#!/bin/sh
# Generate and check module aliases.
# Author: You-Sheng Yang <vicamo@gmail.com>
# Copyright: (C) 2019 You-Sheng Yang

set -eu

lsinitramfs $(find /boot -type f -name initrd.img-\*) | \
  grep 'updates/\([^/]\+/\)*e1000e.ko'
