From: Harald Hoyer Date: Fri, 16 May 2014 11:32:47 +0000 (+0200) Subject: ifcfg/write-ifcfg.sh: include net-lib.sh X-Git-Tag: 038~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fa1afb65cef30d56ce2e141b0b594cf780120a1;p=thirdparty%2Fdracut.git ifcfg/write-ifcfg.sh: include net-lib.sh otherwise is_persistent_ethernet_name() is missing --- diff --git a/modules.d/45ifcfg/write-ifcfg.sh b/modules.d/45ifcfg/write-ifcfg.sh index 0fa5f4041..6756c3f8a 100755 --- a/modules.d/45ifcfg/write-ifcfg.sh +++ b/modules.d/45ifcfg/write-ifcfg.sh @@ -3,6 +3,8 @@ # ex: ts=8 sw=4 sts=4 et filetype=sh # NFS root might have reached here before /tmp/net.ifaces was written +type is_persistent_ethernet_name >/dev/null 2>&1 || . /lib/net-lib.sh + udevadm settle --timeout=30 if [ -e /tmp/bridge.info ]; then