summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-10-01 14:01:14 +0200
committerHarald Hoyer <harald@redhat.com>2009-10-01 14:46:15 +0200
commita1dd79d4fe33a0859aafe79e4a19f4f5e909aee7 (patch)
tree80378efb865131a22b3120eeb04dc4e13464449d
parent0519556070ca6537c897417b8e72f5d156d5bbfd (diff)
network/netroot: remove flock
netroot is now in the initqueue
-rwxr-xr-xmodules.d/40network/netroot9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules.d/40network/netroot b/modules.d/40network/netroot
index d0b7612..b905c1e 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