[Unit] Description=Relabel kernel modules early in the boot, if needed DefaultDependencies=no Conflicts=shutdown.target After=systemd-remount-fs.service Before=local-fs-pre.target local-fs.target shutdown.target systemd-modules-load.service Wants=local-fs-pre.target ConditionPathExists=/.autorelabel ConditionPathExists=/sbin/restorecon [Install] WantedBy=local-fs.target [Service] Type=oneshot ExecStart=/usr/lib/systemd/scripts/amzn2-early-relabel-modules.sh