#!/bin/bash

# NB: $moddir only works in install()
. /opt/rh/gcc-toolset-11/root/usr/lib/dracut/modules.d/99gcc-toolset-11-stap/params.conf

# Do not include stap module if there are no scripts to include
[ "$ONBOOT_SCRIPTS" ] || exit 1
# We're disabled by default: the initscript explicitly uses dracut's
# '--add stap' when creating the initramfs. Otherwise, we might be
# mistakenly included during e.g. kernel updates.
exit 255
