summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-02-21 22:09:05 +0100
committerDirk von Suchodoletz2007-02-21 22:09:05 +0100
commite0e1fcc938b3684ced0cd71a0f529dbf031eb197 (patch)
tree0572b3d54d2636c072c46add7438decceb8254da /initramfs/initrd-stuff/init
parent* slxos-setup and the required files are now installed, too. (diff)
downloadcore-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.tar.gz
core-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.tar.xz
core-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.zip
Started NFSv4 integration (only sensible for newer distros, e.g.
SuSE 10.), removed AFS from SuSE10.2 (deprecated), fixed init for (nfsroot= deprecated too) and fixed functions for @@@serverip@@@ (dsuchod if --username dsuchod does not work) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@709 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init7
1 files changed, 4 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index dafc4b0e..eb777942 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -172,7 +172,7 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
root_path=/$(uri_token $rootfs path)
nfsserver=$(uri_token $rootfs server)
echo -e "\n# nfs root information gotten via kernel command \
-line in $0\nnfsroot=\"${nfsroot}\"\n" >> /etc/machine-setup
+line in $0\n#nfsroot=\"${nfsserver}:${root_path}\"\n" >> /etc/machine-setup
;;
*nbd)
nbdmod=$srvproto
@@ -204,8 +204,9 @@ line in $0\nnfsroot=\"${nfsroot}\"\n" >> /etc/machine-setup
nfsroot=${opts#nfsroot=}
#root_path=
#nfsserver=
- echo -e "\n# nfs root information gotten via kernel command line in $0\n\
-nfsroot=\"${nfsroot}\"\n" >> /etc/machine-setup
+ echo -e "\n# nfs root information gotten via kernel command line in \n\
+$0\n# deprecated: please use rootfs=nfs://...\nnfsroot=\"${nfsroot}\"\n" \
+>> /etc/machine-setup
;;
# size of tempfs if not max. 50% of RAM should be used
tmpfssize=*)