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 base } install() { inst_hook pre-mount 50 "$moddir/scripts/gen-resolv-conf.sh" }