summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/etc/functions
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-23 19:38:40 +0200
committerDirk von Suchodoletz2008-08-23 19:38:40 +0200
commit07ba77b24d710f746a665e4be65d54751398d616 (patch)
tree8fadf9fced61c3f31b7013e298e051b3b5a66d08 /initramfs/stage3-stuff/etc/functions
parentchanged to static version as default, since dynamic version needs libs which ... (diff)
downloadcore-07ba77b24d710f746a665e4be65d54751398d616.tar.gz
core-07ba77b24d710f746a665e4be65d54751398d616.tar.xz
core-07ba77b24d710f746a665e4be65d54751398d616.zip
Fetch nis* information from the dhcp-server.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2085 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/etc/functions')
-rw-r--r--initramfs/stage3-stuff/etc/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/etc/functions b/initramfs/stage3-stuff/etc/functions
index c5c0dc1a..9bd474dc 100644
--- a/initramfs/stage3-stuff/etc/functions
+++ b/initramfs/stage3-stuff/etc/functions
@@ -261,8 +261,8 @@ mkdir /var/lib/dhcp >/dev/null 2>&1
[ -n $vci ] && vci="-V $vci"
testmkd /usr/share/udhcpc
ln -sf /bin/dhcpmkconfig /usr/share/udhcpc/default.script
-# -b option is suboptimal here ...
-udhcpc -b -t 8 -q $vci -s /usr/share/udhcpc/default.script \
+# -o option gets additionally the nis* options, but described other way round
+udhcpc -b -o -t 8 -q $vci -s /usr/share/udhcpc/default.script \
-i $nwif 2>/dev/null
}