Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../etc/profile....
File: megacli.sh
# Managed by Salt
[0] Fix | Delete
if [[ -f /opt/MegaRAID/MegaCli/MegaCli64 ]]; then
[1] Fix | Delete
alias MegaCli='/opt/MegaRAID/MegaCli/MegaCli64'
[2] Fix | Delete
elif [[ -f /opt/MegaRAID/MegaCli/MegaCli ]]; then
[3] Fix | Delete
alias MegaCli='/opt/MegaRAID/MegaCli/MegaCli'
[4] Fix | Delete
fi
[5] Fix | Delete
[6] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function