Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../lib/dracut/modules..../95fcoe
File: cleanup-fcoe.sh
#!/bin/sh
[0] Fix | Delete
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
[1] Fix | Delete
# ex: ts=8 sw=4 sts=4 et filetype=sh
[2] Fix | Delete
[3] Fix | Delete
if [ -e /var/run/lldpad.pid ]; then
[4] Fix | Delete
lldpad -k
[5] Fix | Delete
# with systemd version 230, this is not necessary anymore
[6] Fix | Delete
# systemd commit cacf980ed44a28e276a6cc7f8fc41f991e2ab354
[7] Fix | Delete
if [ -z "$DRACUT_SYSTEMD" ]; then
[8] Fix | Delete
mkdir -m 0755 -p /run/initramfs/state/dev/shm
[9] Fix | Delete
cp /dev/shm/lldpad.state /run/initramfs/state/dev/shm/ > /dev/null 2>&1
[10] Fix | Delete
echo "files /dev/shm/lldpad.state" >> /run/initramfs/rwtab
[11] Fix | Delete
fi
[12] Fix | Delete
fi
[13] Fix | Delete
[14] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function