diff options
| author | Dirk von Suchodoletz | 2008-03-01 02:57:04 +0100 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2008-03-01 02:57:04 +0100 |
| commit | 97a77429e4063b240a9730b31a2ab81755f3c136 (patch) | |
| tree | 3812458b017632bf0b5176a930f90f0c8a1b25e0 /initramfs/cdboot/init | |
| parent | Improved version of CD preboot test with RootFS type to choose ... (diff) | |
| download | core-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-x | initramfs/cdboot/init | 5 |
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 \ |
