diff options
author | Oliver Tappe | 2006-09-29 19:24:19 +0200 |
---|---|---|
committer | Oliver Tappe | 2006-09-29 19:24:19 +0200 |
commit | 6b9673a3c146fe5e2dc2a0aac3b65f89ef1a4945 (patch) | |
tree | 80dc1df4831892d335085d8ed85fb191e1256c30 /initramfs/initrd-stuff/etc/functions | |
parent | * fixed typo (diff) | |
download | core-6b9673a3c146fe5e2dc2a0aac3b65f89ef1a4945.tar.gz core-6b9673a3c146fe5e2dc2a0aac3b65f89ef1a4945.tar.xz core-6b9673a3c146fe5e2dc2a0aac3b65f89ef1a4945.zip |
* hopefully cleared up issue with tftpboot-prefix, as we expect the tftp-server
to serve from SLX_TFTPBOOT_PATH, we only need to request 'client-config' as
it's a relative path. If that is changed, the slxconfig-demuxer needs to be
changed accordingly, or the automatic setup won't work anymore.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@411 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 4a441550..cefd7a26 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -431,8 +431,9 @@ if [ -n "$FILESRC" ] ; then tftpserver=$(uri_token $FILESRC server) tftpgetunpack $tftp $cfgfile $tftpserver else - # fixme: We need to know the prefix somehow - cfgdir="/tftpboot/client-conf" + # we expect the tftp-server to serve from $SLX_TFTPBOOT_PATH, so we + # just use the relative path from that here: + cfgdir="client-config" local tftpserver=$serverip # try to get configuration files successively; start with distro client # and try last distro default ... |