1 2 3 4 5 6 7 8 9 10 11 12 13
#!/usr/bin/env bash check() { # Tell dracut that this module should only be included if it is required # explicitly. return 255 } depends() { echo dnbd3-rootfs } install() { inst_hook pre-pivot 50 "$moddir/scripts/gen-bootnet-conf.sh" }