]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fcoe-up: remove initlog logic
authorHarald Hoyer <harald@redhat.com>
Wed, 5 Mar 2014 12:20:35 +0000 (13:20 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 5 Mar 2014 12:21:25 +0000 (13:21 +0100)
modules.d/95fcoe/fcoe-up.sh

index 8cf39ec7bb07a0342e4d7ee8a510167104542301..511c554a967e002fabf3eb947c1fb3755f90e779 100755 (executable)
@@ -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