1 2 3 4 5 6 7
#!/bin/bash modinfo -k $kernel dm_mod >/dev/null 2>&1 && \ inst_hook pre-udev 30 "$moddir/dm-pre-udev.sh" inst dmsetup