Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/dracut/modules..../95resume
File: resume.sh
#!/bin/sh
[0] Fix | Delete
[1] Fix | Delete
PATH=/usr/sbin:/usr/bin:/sbin:/bin
[2] Fix | Delete
[3] Fix | Delete
[ -s /.resume -a -b "$resume" ] && {
[4] Fix | Delete
# First try user level resume; it offers splash etc
[5] Fix | Delete
case "$splash" in
[6] Fix | Delete
quiet )
[7] Fix | Delete
a_splash="-P splash=y"
[8] Fix | Delete
;;
[9] Fix | Delete
* )
[10] Fix | Delete
a_splash="-P splash=n"
[11] Fix | Delete
;;
[12] Fix | Delete
esac
[13] Fix | Delete
[ -x "$(command -v resume)" ] && command resume $a_splash "$resume"
[14] Fix | Delete
[15] Fix | Delete
# parsing the output of ls is Bad, but until there is a better way...
[16] Fix | Delete
ls -lH "$resume" | (
[17] Fix | Delete
read x x x x maj min x;
[18] Fix | Delete
echo "${maj%,}:$min"> /sys/power/resume)
[19] Fix | Delete
>/.resume
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function