network: don't use "ifup -m"
[dracut.git] / modules.d / 99img-lib / module-setup.sh
blob69346b2f1916baa1ffe91ddb7a84fcf0081caff5
1 #!/bin/bash
2 # module-setup for img-lib
4 # called by dracut
5 check() {
6 require_binaries tar gzip dd bash || return 1
7 return 255
10 # called by dracut
11 depends() {
12 return 0
15 # called by dracut
16 install() {
17 inst_multiple tar gzip dd bash
18 # TODO: make this conditional on a cmdline flag / config option
19 inst_multiple -o cpio xz bzip2
20 inst_simple "$moddir/img-lib.sh" "/lib/img-lib.sh"