You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
363 B
25 lines
363 B
#!/bin/bash |
|
|
|
# called by dracut |
|
check() { |
|
require_binaries losetup || return 1 |
|
|
|
return 255 |
|
} |
|
|
|
# called by dracut |
|
depends() { |
|
echo crypt |
|
} |
|
|
|
# called by dracut |
|
installkernel() { |
|
instmods loop |
|
} |
|
|
|
# called by dracut |
|
install() { |
|
inst_multiple losetup |
|
inst "$moddir/crypt-loop-lib.sh" "/lib/dracut-crypt-loop-lib.sh" |
|
dracut_need_initqueue |
|
}
|
|
|