diff options
author | Dirk von Suchodoletz | 2006-03-07 20:05:28 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-03-07 20:05:28 +0100 |
commit | 435ca4cc1590d4a51af49b629fba73080bc2583f (patch) | |
tree | 8155ffca8a6db83b5ee609c93d67c9182b0144b6 /initrd/mkdxsinitrd | |
parent | further installer progress (diff) | |
download | core-435ca4cc1590d4a51af49b629fba73080bc2583f.tar.gz core-435ca4cc1590d4a51af49b629fba73080bc2583f.tar.xz core-435ca4cc1590d4a51af49b629fba73080bc2583f.zip |
started to add alternative configuration via file (tftp get from
server), see DXS Wiki too ...
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@92 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/mkdxsinitrd')
-rwxr-xr-x | initrd/mkdxsinitrd | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/initrd/mkdxsinitrd b/initrd/mkdxsinitrd index 832625e1..b238567a 100755 --- a/initrd/mkdxsinitrd +++ b/initrd/mkdxsinitrd @@ -3,11 +3,11 @@ # Description: universal (distro independent) generator for initial # ramdisks for linux diskless clients # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-02-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 06-03-2006 # Nico Dietrich # Blub # -# Version: 0.3.1b +# Version: 0.3.1c # # Copyright: (c) 2003 - 2006 - RZ Universitaet Freiburg @@ -244,19 +244,6 @@ mkdir -p ${INSTDIR}/usr/share # needed for KNOPPIX hwsetup not to confuse with ${D_SYSCONFDIR} mkdir -p ${INSTDIR}/etc/sysconfig -# fixme!! Funktion ermittelt die Distro des Servers NICHT des Clients!! -# if no distro name is set, try to find the correct one via lsb_release -#if [ -z "${DISTRO}" ] ; then -# for i in ${ROOTDIR}/bin/lsb_release ${ROOTDIR}/usr/bin/lsb_release; do -# if [ -e $i ] ; then -# $i > /dev/null 2>&1 || break -# DISTRO=`. $i -i | sed "s/.*\t//"` -# DISTRO_VER=`. $i -r | sed "s/.*\t//"` -# break -# fi -# done -#fi - # if still no distro name set, try to find it using significant files if [ -z "${DISTRO}" ] ; then if [ -e ${ROOTDIR}/etc/SuSE-release ] ; then @@ -367,6 +354,13 @@ done cobi $dhcp bin mkdir -p ${INSTDIR}/var/{lib,run} +# tftp client binary for configuration via file - get machine-setup per +# tftp from dhcp (or specified other) server +for tftp in atftp tftp ; do + binfinder $tftp && break +done +cobi $tftp bin + # debug binaries for bbins in \ date ls lsmod lsof ps rm strace time |