summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/init
diff options
context:
space:
mode:
authorFelix Endres2006-01-19 19:53:18 +0100
committerFelix Endres2006-01-19 19:53:18 +0100
commit38dd7d93d0660d32464b6bd942c48f524b359621 (patch)
treeb2da11abb07d5f7934344f4305b1fcff303757de /initrd/initrd-stuff/init
parentErgänzungen für HD, CDR, ... (diff)
downloadcore-38dd7d93d0660d32464b6bd942c48f524b359621.tar.gz
core-38dd7d93d0660d32464b6bd942c48f524b359621.tar.xz
core-38dd7d93d0660d32464b6bd942c48f524b359621.zip
Fehler beim Startskriptlinking und dhcp-client behoben
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@21 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-xinitrd/initrd-stuff/init6
1 files changed, 4 insertions, 2 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index a392f173..e6e957c7 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -32,7 +32,7 @@ if [ -x /bin/udev -a -x /bin/udevstart ] ; then
# else
echo "/bin/udev" > /proc/sys/kernel/hotplug
# fi
- /bin/udevstart &
+ /bin/udevstart
elif [ -x /bin/hotplug ] ; then
echo "Enabling hotplug"
echo "/bin/hotplug" > /proc/sys/kernel/hotplug
@@ -165,6 +165,8 @@ else
fi
# get configuration data via dhcp (with vendor code identifier if present in
# ${VCI} or ldap if available (in background)
+echo "dhcp:!:13117:0:99999:7:::" > /etc/passwd
+echo "dhcp:x:101:" > /etc/group
[ -n "$DHCP" ] && rundhcp ${VCI} &
if [ -n "$noipyet" ] ; then
waitfor /tmp/dhcp-done 20000
@@ -342,7 +344,7 @@ waitfor /tmp/svcfg 20000 || error " For some reason the software config \
of this client did not finish in\n time. You might check the process list \
and list the modules loaded until\n now."
date
-#ash
+bash
# IP configuration is made and should not be updated automatically
killall -9 dhcpcd dhclient pump 2>/dev/null
# unmount the bind mounted modules directory