summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorOliver Tappe2007-06-28 20:45:49 +0200
committerOliver Tappe2007-06-28 20:45:49 +0200
commit10a96dae3122055d08ea7cb892fad68de5627868 (patch)
treeab45b7e1935e4c09e5ca1bc752087d7f55707342 /initramfs/initrd-stuff/init
parent* fixed problem reported by Felix (& seconded by Dirk and Michael) that caused (diff)
downloadcore-10a96dae3122055d08ea7cb892fad68de5627868.tar.gz
core-10a96dae3122055d08ea7cb892fad68de5627868.tar.xz
core-10a96dae3122055d08ea7cb892fad68de5627868.zip
* reverted removal of leading slash to nfspath (although conceptually, this
is bogus), should fix problems with nfs-mounts git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1194 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index ef761352..f0907b55 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -197,7 +197,7 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
case $srvproto in
nfs)
# nfsroot consists now of two different parts
- nfspath=$(uri_token $rootfs path)
+ nfspath=/$(uri_token $rootfs path)
nfsserver=$(uri_token $rootfs server)
echo -e "\n# nfs root information gotten via kernel command \
line in $0\n#nfsroot=\"${nfsserver}:${nfspath}\"\n" >> /etc/machine-setup