Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib/dracut/modules..../90dm
File: module-setup.sh
#!/bin/bash
[0] Fix | Delete
[1] Fix | Delete
# called by dracut
[2] Fix | Delete
check() {
[3] Fix | Delete
require_binaries dmsetup || return 1
[4] Fix | Delete
return 255
[5] Fix | Delete
}
[6] Fix | Delete
[7] Fix | Delete
# called by dracut
[8] Fix | Delete
depends() {
[9] Fix | Delete
return 0
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
# called by dracut
[13] Fix | Delete
installkernel() {
[14] Fix | Delete
instmods =drivers/md dm_mod dm-cache dm-cache-mq dm-cache-cleaner
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
# called by dracut
[18] Fix | Delete
install() {
[19] Fix | Delete
modinfo -k $kernel dm_mod >/dev/null 2>&1 && \
[20] Fix | Delete
inst_hook pre-udev 30 "$moddir/dm-pre-udev.sh"
[21] Fix | Delete
[22] Fix | Delete
inst_multiple dmsetup
[23] Fix | Delete
inst_multiple -o dmeventd
[24] Fix | Delete
[25] Fix | Delete
inst_libdir_file "libdevmapper-event.so*"
[26] Fix | Delete
[27] Fix | Delete
inst_rules 10-dm.rules 13-dm-disk.rules 95-dm-notify.rules
[28] Fix | Delete
# Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install above rules
[29] Fix | Delete
# files, but provides the one below:
[30] Fix | Delete
inst_rules 64-device-mapper.rules
[31] Fix | Delete
# debian udev rules
[32] Fix | Delete
inst_rules 60-persistent-storage-dm.rules 55-dm.rules
[33] Fix | Delete
[34] Fix | Delete
inst_rules "$moddir/11-dm.rules"
[35] Fix | Delete
[36] Fix | Delete
inst_rules "$moddir/59-persistent-storage-dm.rules"
[37] Fix | Delete
prepare_udev_rules 59-persistent-storage-dm.rules
[38] Fix | Delete
[39] Fix | Delete
inst_hook shutdown 25 "$moddir/dm-shutdown.sh"
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
[43] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function