projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ab422
)
fix check for dhclient-script, if interface is already up
author
Seewer Philippe
<philippe.seewer@bfh.ch>
Thu, 18 Jun 2009 08:36:32 +0000
(10:36 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 18 Jun 2009 08:36:32 +0000
(10:36 +0200)
modules.d/40network/dhclient-script
patch
|
blob
|
history
diff --git
a/modules.d/40network/dhclient-script
b/modules.d/40network/dhclient-script
index
80ab54c
..
4153eb8
100755
(executable)
--- a/
modules.d/40network/dhclient-script
+++ b/
modules.d/40network/dhclient-script
@@
-43,12
+43,12
@@
if getarg rdnetdebug ; then
set -x
fi
-# Huh? Interface configured?
-[ -f "/tmp/net.$netif.up" ] && exit 0
-
# We already need a set netif here
netif=$interface
+# Huh? Interface configured?
+[ -f "/tmp/net.$netif.up" ] && exit 0
+
case $reason in
PREINIT)
ip link set $netif up