]> git.ipfire.org Git - thirdparty/dracut.git/blob - modules.d/30convertfs/module-setup.sh
Fix boot with `fips` without a value
[thirdparty/dracut.git] / modules.d / 30convertfs / module-setup.sh
1 #!/bin/bash
2
3 # called by dracut
4 check() {
5 [[ $mount_needs ]] && return 1
6 return 255
7 }
8
9 # called by dracut
10 depends() {
11 return 0
12 }
13
14 # called by dracut
15 install() {
16 inst_multiple bash find ldconfig mv rm cp ln
17 inst_hook pre-pivot 99 "$moddir/do-convertfs.sh"
18 inst_script "$moddir/convertfs.sh" /usr/bin/convertfs
19 }
20