diff options
author | Nico Dietrich | 2006-01-21 20:10:51 +0100 |
---|---|---|
committer | Nico Dietrich | 2006-01-21 20:10:51 +0100 |
commit | 180e49cb06368a60c37a7f6d7e17b2fb5bec9db7 (patch) | |
tree | 9b1de21763ec5d0d12b7e58ffd6642d3bb5bc3c4 /initrd/mkdxsinitrd | |
parent | Kleinere Bugs in init und dhcpmkconfig gefixt. boot.ld für initialen (diff) | |
download | core-180e49cb06368a60c37a7f6d7e17b2fb5bec9db7.tar.gz core-180e49cb06368a60c37a7f6d7e17b2fb5bec9db7.tar.xz core-180e49cb06368a60c37a7f6d7e17b2fb5bec9db7.zip |
kleine bugfixes in mkdxsinitrd
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@31 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-x | initrd/mkdxsinitrd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd index 2865b183..a2bfe7d5 100755 --- a/initrd/mkdxsinitrd +++ b/initrd/mkdxsinitrd @@ -277,10 +277,11 @@ mkdir -p ${INSTDIR}/etc/sysconfig # done #fi + if [ -z "${DISTRO}" ] ; then if [ -e ${ROOTDIR}/etc/SuSE-release ] ; then DISTRO=suse - DISTRO_VER=`grep "VERSION" /etc/SuSE-release | sed "s/.*= //"` + DISTRO_VER=`grep "VERSION" ${ROOTDIR}/etc/SuSE-release | sed "s/.*= //"` elif [ -e ${ROOTDIR}/etc/debian-version ] ; then DISTRO=debian DISTRO_VER=`cat ${ROOTDIR}/etc/debian-version` @@ -331,10 +332,9 @@ done # if no klibc for bbins in ip ifconfig; do - if cobi ${bbins} bin - then + if cobi ${bbins} bin ; then LRCIP=/bin/${bbins} - [ "${LRCIP}" = "ifconfig" ] && cobi route bin + [ "${bbins}" = "ifconfig" ] && cobi route bin break else echo "Binary not found"; fi done |