From 7dc5e26a58a10d44f0a025111354ff946b6f4f71 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 28 Jan 2009 17:13:20 +0000 Subject: 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 --- boot-env/preboot/init | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'boot-env') 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 -- cgit v1.2.3-55-g7522