summaryrefslogtreecommitdiffstats
path: root/initramfs/cdboot/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-03-01 02:57:04 +0100
committerDirk von Suchodoletz2008-03-01 02:57:04 +0100
commit97a77429e4063b240a9730b31a2ab81755f3c136 (patch)
tree3812458b017632bf0b5176a930f90f0c8a1b25e0 /initramfs/cdboot/init
parentImproved version of CD preboot test with RootFS type to choose ... (diff)
downloadcore-97a77429e4063b240a9730b31a2ab81755f3c136.tar.gz
core-97a77429e4063b240a9730b31a2ab81755f3c136.tar.xz
core-97a77429e4063b240a9730b31a2ab81755f3c136.zip
Optimizations, improvements ...
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1590 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/cdboot/init')
-rwxr-xr-xinitramfs/cdboot/init5
1 files changed, 4 insertions, 1 deletions
diff --git a/initramfs/cdboot/init b/initramfs/cdboot/init
index 78282b83..dd0af295 100755
--- a/initramfs/cdboot/init
+++ b/initramfs/cdboot/init
@@ -104,10 +104,13 @@ for opts in ${KCMDLINE} ; do
debug=*)
DEBUGLEVEL=${opts#debug=};;
nbd)
+ type=nbd
file=irfsnbd;;
nfs)
+ type=nfs
file=irfsnfs;;
dnbd2)
+ type=dnbd2
file=irfsd2;;
esac
done
@@ -163,7 +166,7 @@ ip route add default via $router
# user choose what kind of SLX client he wants to get
# get kernel and initramfs, if something fails start debug shell
-echo "Fetching selected kernel and initial ramfs from the net ..."
+echo "Fetching selected kernel and initial ramfs ($type) from the net ..."
( wget -q -c -O /tmp/kernel \
ftp://openslx:OpenS1X@archive.ruf.uni-freiburg.de/kernel 2>/dev/null && \
wget -q -c -O /tmp/iramfs \