X7ROOT File Manager
Current Path:
/lib/dracut/modules.d/90crypt
lib
/
dracut
/
modules.d
/
90crypt
/
📁
..
📄
crypt-cleanup.sh
(452 B)
📄
crypt-lib.sh
(7.98 KB)
📄
crypt-run-generator.sh
(804 B)
📄
cryptroot-ask.sh
(5.46 KB)
📄
module-setup.sh
(6.23 KB)
📄
parse-crypt.sh
(7.9 KB)
📄
parse-keydev.sh
(1.35 KB)
📄
probe-keydev.sh
(383 B)
Editing: probe-keydev.sh
#!/usr/bin/sh . /lib/dracut-crypt-lib.sh real_keydev="$1" keypath="$2" luksdev="$3" [ -z "$real_keydev" -o -z "$keypath" ] && die 'probe-keydev: wrong usage!' [ -z "$luksdev" ] && luksdev='*' info "Probing $real_keydev for $keypath..." test_dev -f "$real_keydev" "$keypath" || exit 1 info "Found $keypath on $real_keydev" echo "$luksdev:$real_keydev:$keypath" >> /tmp/luks.keys
Upload File
Create Folder