From: Harald Hoyer Date: Thu, 1 Oct 2009 12:01:14 +0000 (+0200) Subject: network/netroot: remove flock X-Git-Tag: 003~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1dd79d4fe33a0859aafe79e4a19f4f5e909aee7;p=thirdparty%2Fdracut.git network/netroot: remove flock netroot is now in the initqueue --- diff --git a/modules.d/40network/netroot b/modules.d/40network/netroot index d0b761255..b905c1e6d 100755 --- a/modules.d/40network/netroot +++ b/modules.d/40network/netroot @@ -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