projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b80171
)
Adjusting mount calls when using nfs options (Closes: #667435).
author
Daniel Baumann
<daniel@debian.org>
Wed, 4 Apr 2012 08:50:11 +0000
(10:50 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 4 Apr 2012 08:50:11 +0000
(10:50 +0200)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
494abc7
..
84924c9
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-988,9
+988,9
@@
do_nfsmount ()
modprobe -q nfs
- if [ -
z
"${NFSOPTS}" ]
+ if [ -
n
"${NFSOPTS}" ]
then
- NFSOPTS=""
+ NFSOPTS="
-o ${NFSOPTS}
"
fi
log_begin_msg "Trying nfsmount -o nolock -o ro ${NFSOPTS} ${NFSROOT} ${mountpoint}"
@@
-1017,7
+1017,7
@@
do_cifsmount ()
then
CIFSOPTS="-ouser=root,password="
else
- CIFSOPTS="${NFSOPTS}"
+ CIFSOPTS="
-o
${NFSOPTS}"
fi
log_begin_msg "Trying mount.cifs ${NFSROOT} ${mountpoint} ${CIFSOPTS}"