From f60b7d8655bd90637a52b11e9e16ed144d5040d3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 5 Mar 2014 13:20:35 +0100 Subject: [PATCH] fcoe-up: remove initlog logic --- modules.d/95fcoe/fcoe-up.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.47.3