Bugzilla – Attachment 51312 Details for
Bug 117672
autofs --timeout can not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
rcautofs - modifying sed to allow timeout settings
rcautofs-timeoutset-01.patch (text/plain), 974 bytes, created by
Guido Draheim
on 2005-10-03 08:15:02 UTC
(
hide
)
Description:
rcautofs - modifying sed to allow timeout settings
Filename:
MIME Type:
Creator:
Guido Draheim
Created:
2005-10-03 08:15:02 UTC
Size:
974 bytes
patch
obsolete
>--- autofs.ORIG 2005-09-04 02:38:29.000000000 +0200 >+++ autofs 2005-09-16 00:50:01.000000000 +0200 >@@ -60,15 +60,15 @@ > while read dir map options ; do > if [ ! -z "$dir" -a ! -z "$map" -a x`echo "$map" | cut -c1` != 'x-' ] ; then > map=`echo "/etc/$map" | sed -e 's:^/etc//:/:'` >- options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'` >+ # options=`echo "$options" | sed -e 's/\(^\|[ \t]\)-/\1/g'` > if echo $options | grep -- '-t' >/dev/null 2>&1 ; then > mountoptions="--timeout $(echo $options | \ >- sed 's/^.*-t\(imeout\)*[ \t]*\([0-9][0-9]*\).*$/\2/g')" >+ sed 's/^.*-t\(imeout\)*[= \t]*\([0-9][0-9]*\).*$/\2/g')" > else > mountoptions="" > fi > options=`echo "$options" | sed -e ' >- s/--*t\(imeout\)*[ \t]*[0-9][0-9]*//g >+ s/--*t\(imeout\)*[= \t]*[0-9][0-9]*//g > s/\(^\|[ \t]\)-/\1/g'` > if [ -x $map ]; then > echo "$DAEMON $daemonoptions $mountoptions $dir program $map $options $localoptions"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 117672
: 51312