summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/bin/dhcpmkconfig
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-22 16:03:18 +0200
committerDirk von Suchodoletz2010-08-22 16:03:18 +0200
commit30e9b185bc1e9dcc229f594f5f0c9e7c6424ac14 (patch)
treeab565e3270e5008ea31a99345d141fd5b089a5b3 /initramfs/stage3-stuff/bin/dhcpmkconfig
parentAdding missing files for splashy ... (diff)
downloadcore-30e9b185bc1e9dcc229f594f5f0c9e7c6424ac14.tar.gz
core-30e9b185bc1e9dcc229f594f5f0c9e7c6424ac14.tar.xz
core-30e9b185bc1e9dcc229f594f5f0c9e7c6424ac14.zip
...
Diffstat (limited to 'initramfs/stage3-stuff/bin/dhcpmkconfig')
-rwxr-xr-xinitramfs/stage3-stuff/bin/dhcpmkconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/bin/dhcpmkconfig b/initramfs/stage3-stuff/bin/dhcpmkconfig
index b2b78496..fa01db75 100755
--- a/initramfs/stage3-stuff/bin/dhcpmkconfig
+++ b/initramfs/stage3-stuff/bin/dhcpmkconfig
@@ -14,6 +14,9 @@
# applet used within OpenSLX initramfs. The result is written to the
# /etc/initramfs-setup file
+# script started twice by udhcpc, quit fast if no ip configuration present
+[ -z "$ip" ] && exit 0
+
# heavy debugging output in level 3 and above ... and on 13
#FIXME: DEBUGLEVEL is not propagated to this file (at least for Ubuntu)
[ -z "$DEBUGLEVEL" ] && DEBUGLEVEL=0