Debian Codegraph @

initscript/99stap/check.in

raw
1 #!/bin/bash
2
3 # NB: $moddir only works in install()
4 . @dracutstap@/params.conf
5
6 # Do not include stap module if there are no scripts to include
7 [ "$ONBOOT_SCRIPTS" ] || exit 1
8 # We're disabled by default: the initscript explicitly uses dracut's
9 # '--add stap' when creating the initramfs. Otherwise, we might be
10 # mistakenly included during e.g. kernel updates.
11 exit 255