Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/dracut/modules..../45ifcfg
File: module-setup.sh
#!/bin/bash
[0] Fix | Delete
[1] Fix | Delete
# called by dracut
[2] Fix | Delete
check() {
[3] Fix | Delete
[[ -d /etc/sysconfig/network-scripts ]] && return 0
[4] Fix | Delete
return 255
[5] Fix | Delete
}
[6] Fix | Delete
[7] Fix | Delete
# called by dracut
[8] Fix | Delete
depends() {
[9] Fix | Delete
echo "network"
[10] Fix | Delete
return 0
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
# called by dracut
[14] Fix | Delete
install() {
[15] Fix | Delete
inst_binary sort
[16] Fix | Delete
inst_hook pre-pivot 85 "$moddir/write-ifcfg.sh"
[17] Fix | Delete
}
[18] Fix | Delete
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function