blob: b0d44184c47068c14c738bf1b1e1d9d27d9e30b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# called by dracut
check() {
[[ -d $dracutsysrootdir/etc/sysconfig/network-scripts ]] && return 0
return 255
}
# called by dracut
depends() {
echo "network"
return 0
}
# called by dracut
install() {
inst_binary awk
inst_hook pre-pivot 85 "$moddir/write-ifcfg.sh"
}
|