diff options
| author | Dirk von Suchodoletz | 2006-12-15 23:29:56 +0100 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-12-15 23:29:56 +0100 |
| commit | 1cbb2ddde2cb09e2735ab372551945d17c3187b8 (patch) | |
| tree | 77f3aad1fe4394984b22c82f9a65373a4cd16018 /initramfs/initrd-stuff | |
| parent | Remove bogus extra " in front of the file name. (diff) | |
| download | core-1cbb2ddde2cb09e2735ab372551945d17c3187b8.tar.gz core-1cbb2ddde2cb09e2735ab372551945d17c3187b8.tar.xz core-1cbb2ddde2cb09e2735ab372551945d17c3187b8.zip | |
Busybox had broken killall - fixed. Fixed replacement bug for udhcpc
script, nameserver in resolv.conf is set properly now.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@549 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff')
| -rwxr-xr-x | initramfs/initrd-stuff/bin/dhcpmkconfig | 5 | ||||
| -rwxr-xr-x | initramfs/initrd-stuff/init | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/initramfs/initrd-stuff/bin/dhcpmkconfig b/initramfs/initrd-stuff/bin/dhcpmkconfig index d32bd8e6..86fd42c7 100755 --- a/initramfs/initrd-stuff/bin/dhcpmkconfig +++ b/initramfs/initrd-stuff/bin/dhcpmkconfig @@ -4,7 +4,7 @@ # clients used within OpenSLX initramfs. The result is written in unified # form to the /etc/machine-setup file # -# Dirk von Suchodoletz <dvs@OpenSLX.com>, 14-11-2006 +# Dirk von Suchodoletz <dvs@OpenSLX.com>, 15-12-2006 # Lars Mueller, 23-06-2006 # Oliver Tappe, 23-06-2006 # @@ -61,9 +61,8 @@ enabled via kernel command\n# line)." >>$cfgfile -e "s,^P.*,,;s,ntpsrv,ntp_servers,;s,ip,clientip," \ -e "s,serverid,serverip,;s,subnet,subnet_mask," \ -e "s,router,gateway,;s,hostname,host_name," \ - -e "s,dns,domain_name_servers,;s,domain,domain_name," \ + -e "s,domain,domain_name,;s,dns,domain_name_servers," \ -e "s,broadcast,broadcast_address,;s,dhc.*,,;/^$/d" \ >>/tmp/confviadhcp ;; esac - diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index 86208016..fec140c7 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -567,7 +567,7 @@ umount -n /sys || error "$init_errsys" nonfatal umount -n /proc/bus/usb >/dev/null 2>&1 mount -n --move /dev /mnt/dev chmod a+rwxt /mnt/dev/shm -killall -9 udevd 2>/dev/null +killall -9 udevd sleep usleep 2>/dev/null [ $DEBUGLEVEL -eq 8 ] && echo "** SLX init ended near $(sysup)" umount -n /proc # unset old environment variables |
