]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
network/netroot: remove flock
authorHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 12:01:14 +0000 (14:01 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 1 Oct 2009 12:46:15 +0000 (14:46 +0200)
netroot is now in the initqueue

modules.d/40network/netroot

index d0b761255af7afa7d69ef04eb0ed5ef79d007e7d..b905c1e6dbf0ed1f0b4d0585a394fe9ddcda8bc8 100755 (executable)
@@ -10,15 +10,6 @@ PATH=$PATH:/sbin:/usr/sbin
 # Huh? No interface config?
 [ ! -e /tmp/net.$1.up ] && exit 1
 
-# Only try to configure from one network interface at a time
-#
-if [ -z "$NETROOT_LOCKED" ] ; then
-    NETROOT_LOCKED=true
-    export NETROOT_LOCKED
-    exec flock -xo /tmp/netroot.lock -c "$0 $*"
-    exit 1
-fi
-
 # There's no sense in doing something if no (net)root info is available
 # or root is already there
 [ -e /tmp/root.info ] || exit 1