summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-02-04 18:02:34 +0100
committerDirk von Suchodoletz2007-02-04 18:02:34 +0100
commitb705056e4e54c038d50688eaea27065c292098cb (patch)
treeeb33e8540c4069e3c020906f72f0e4ad11b49caf /initramfs/initrd-stuff/etc/functions
parent* updated (diff)
downloadcore-b705056e4e54c038d50688eaea27065c292098cb.tar.gz
core-b705056e4e54c038d50688eaea27065c292098cb.tar.xz
core-b705056e4e54c038d50688eaea27065c292098cb.zip
Renaming of variables (in slx init/functions) to be compatible with
machine-setup assignements. Reading machine-setup at the beginning of slx init to have the possibility to move kernel commandline parameters to file if common for all client using a certain InitRamFS ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@677 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r--initramfs/initrd-stuff/etc/functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index 3d16cf5e..41a231a3 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -7,7 +7,7 @@
# If you have any feedback please consult http://openslx.org/feedback and
# send your feedback to feedback@openslx.org
#
-# General information about OpenSLX can be found under http://openslx.org
+# General information about OpenSLX can be found at http://openslx.org
#
# common functions file for the configuration of linux diskless clients
# (included by init, hwautocfg, servconfig, ... within OpenSLX initialramfs)
@@ -460,11 +460,11 @@ fi
fileget () {
# get type of tftp available, alternatively use wget for ftp or http
# (fixme: rewrite of fileget needed!!)
-# analyze file soure (URI) in $FILESRC
-if [ -n "$FILESRC" ] ; then
- local srvproto=$(uri_token $FILESRC prot)
- local cfgfile="/$(uri_token $FILESRC path)"
- local tftpserver=$(uri_token $FILESRC server)
+# analyze file soure (URI) in $filesrc
+if [ -n "$filesrc" ] ; then
+ local srvproto=$(uri_token $filesrc prot)
+ local cfgfile="/$(uri_token $filesrc path)"
+ local tftpserver=$(uri_token $filesrc server)
tftpgetunpack $tftp $cfgfile $tftpserver
else
# predefined value for openslx environment; it is expected that this