summaryrefslogtreecommitdiffstats
path: root/boot-env
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-01-28 18:13:20 +0100
committerDirk von Suchodoletz2009-01-28 18:13:20 +0100
commit7dc5e26a58a10d44f0a025111354ff946b6f4f71 (patch)
tree564aa1bd90ca619f537cc7a845b6d95d3352e8cd /boot-env
parent* made preboot.sh executable (diff)
downloadcore-7dc5e26a58a10d44f0a025111354ff946b6f4f71.tar.gz
core-7dc5e26a58a10d44f0a025111354ff946b6f4f71.tar.xz
core-7dc5e26a58a10d44f0a025111354ff946b6f4f71.zip
Changes to match the new preboot environment (config via
initramfs-setup). git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2543 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env')
-rwxr-xr-xboot-env/preboot/init7
1 files changed, 3 insertions, 4 deletions
diff --git a/boot-env/preboot/init b/boot-env/preboot/init
index 987c8192..e84c4df0 100755
--- a/boot-env/preboot/init
+++ b/boot-env/preboot/init
@@ -68,8 +68,8 @@ nwif="eth0"
[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
# load network adaptor modules
-for mod in ${NWMODULES}; do
- modprobe ${MODPRV} $mod || echo "module $mod did not load for some reason"
+for mod in ${ramfs_nicmods}; do
+ modprobe $mod || echo "module $mod did not load for some reason"
usleep 10000
done
@@ -129,8 +129,7 @@ ip route add default via $router
# at this point a little selection script could be downloaded, which lets the
# user choose what kind of SLX client he wants to get
echo "Fetching preboot interactive part and configuration from the net ..."
-wget -q -c -O /tmp/preboot.env \
- ftp://openslx:OpenS1X@archive.ruf.uni-freiburg.de/${prebootid}.env
+wget -q -c -O $boot_uri/${prebootid}.env /tmp/
mkdir /preboot
tar -xzf /tmp/${prebootid}.env -C /preboot
# start a debug shell if needed, else set quiet kernel parameter