]> git.ipfire.org Git - thirdparty/dracut.git/blob - modules.d/45ifcfg/module-setup.sh
Merge pull request #53 from dracut-mailing-devs/E1YQLG5-00009v-BS@puleglot.ru
[thirdparty/dracut.git] / modules.d / 45ifcfg / module-setup.sh
1 #!/bin/bash
2
3 # called by dracut
4 check() {
5 [[ -d /etc/sysconfig/network-scripts ]] && return 0
6 return 255
7 }
8
9 # called by dracut
10 depends() {
11 echo "network"
12 return 0
13 }
14
15 # called by dracut
16 install() {
17 inst_hook pre-pivot 85 "$moddir/write-ifcfg.sh"
18 }
19