Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib/dracut/modules..../90crypt
File: probe-keydev.sh
#!/bin/sh
[0] Fix | Delete
[1] Fix | Delete
. /lib/dracut-crypt-lib.sh
[2] Fix | Delete
[3] Fix | Delete
[4] Fix | Delete
real_keydev="$1"; keypath="$2"; luksdev="$3"
[5] Fix | Delete
[6] Fix | Delete
[ -z "$real_keydev" -o -z "$keypath" ] && die 'probe-keydev: wrong usage!'
[7] Fix | Delete
[ -z "$luksdev" ] && luksdev='*'
[8] Fix | Delete
[9] Fix | Delete
info "Probing $real_keydev for $keypath..."
[10] Fix | Delete
test_dev -f "$real_keydev" "$keypath" || exit 1
[11] Fix | Delete
[12] Fix | Delete
info "Found $keypath on $real_keydev"
[13] Fix | Delete
echo "$luksdev:$real_keydev:$keypath" >> /tmp/luks.keys
[14] Fix | Delete
[15] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function