diff options
| author | Root | 2006-11-14 23:42:29 +0100 |
|---|---|---|
| committer | Root | 2006-11-14 23:42:29 +0100 |
| commit | b023f1e347ea40612778126f97b653bc0241aaba (patch) | |
| tree | a3f83fecd654498452cdeb01cb5a7c7d94e6f5d0 /initramfs/initrd-stuff/bin | |
| parent | Fixed Problem with old Kernel command line parameter (diff) | |
| download | core-b023f1e347ea40612778126f97b653bc0241aaba.tar.gz core-b023f1e347ea40612778126f97b653bc0241aaba.tar.xz core-b023f1e347ea40612778126f97b653bc0241aaba.zip | |
Problems with udhcpc fixed (not optimal), some exclude stuff, to get the
proper *.o and avoid the general crowd of *.o from kernel etc...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@512 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin')
| -rwxr-xr-x | initramfs/initrd-stuff/bin/dhcpmkconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/bin/dhcpmkconfig b/initramfs/initrd-stuff/bin/dhcpmkconfig index ded4caaa..d32bd8e6 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>, 03-09-2006 +# Dirk von Suchodoletz <dvs@OpenSLX.com>, 14-11-2006 # Lars Mueller, 23-06-2006 # Oliver Tappe, 23-06-2006 # @@ -55,14 +55,15 @@ enabled via kernel command\n# line)." >>$cfgfile ;; *udhcpc*) dhcl="udhcpc"; echo -e "$cfgmsg\n$infomsg" >>$cfgfile - unset infomsg HOME IFS mask lease interface + # if $cfgfile is changed change target for set output accordingly + unset infomsg HOME IFS mask lease interface cfgmsg cfgfile set | sed \ -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,broadcast,broadcast_address,;s,dhc.*,,;/^$/d" \ - >>$cfgfile + >>/tmp/confviadhcp ;; esac |
