]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
nbd/nbdroot: do not redirect debug output on rdnetdebug
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 11:51:16 +0000 (13:51 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 12:46:15 +0000 (14:46 +0200)
nbdroot is now in the initqueue and rdinitdebug should cover that

modules.d/95nbd/nbdroot

index 515b08b2512f592c16acd53ced1cc62d2d2d25c5..1661b94e8a50e023c8c8a754ddd45d0a025185be 100755 (executable)
@@ -4,12 +4,6 @@
 
 PATH=$PATH:/sbin:/usr/sbin
 
-if getarg rdnetdebug; then
-    exec > /tmp/nbdroot.$1.$$.out
-    exec 2>> /tmp/nbdroot.$1.$$.out
-    set -x
-fi
-
 # Huh? Empty $1?
 [ -z "$1" ] && exit 1