From: Harald Hoyer Date: Wed, 5 Mar 2014 12:20:35 +0000 (+0100) Subject: fcoe-up: remove initlog logic X-Git-Tag: 037~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f60b7d8655bd90637a52b11e9e16ed144d5040d3;p=thirdparty%2Fdracut.git fcoe-up: remove initlog logic --- diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh index 8cf39ec7b..511c554a9 100755 --- a/modules.d/95fcoe/fcoe-up.sh +++ b/modules.d/95fcoe/fcoe-up.sh @@ -9,15 +9,12 @@ # future use. PATH=/usr/sbin:/usr/bin:/sbin:/bin +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh +type ip_to_var >/dev/null 2>&1 || . /lib/net-lib.sh # Huh? Missing arguments ?? [ -z "$1" -o -z "$2" ] && exit 1 -export PS4="fcoe-up.$1.$$ + " -[ -e /run/initramfs/loginit.pipe ] && exec >>/run/initramfs/loginit.pipe 2>>/run/initramfs/loginit.pipe -type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh -type ip_to_var >/dev/null 2>&1 || . /lib/net-lib.sh - netif=$1 dcb=$2