Author: blues Date: Mon Jun 26 21:32:13 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add OPTIONS and make it by default "--ghost"
---- Files affected:
SOURCES:
autofs.sysconfig (1.2 -> 1.3) , autofs.init (1.28 -> 1.29)
---- Diffs:
================================================================
Index: SOURCES/autofs.sysconfig
diff -u SOURCES/autofs.sysconfig:1.2 SOURCES/autofs.sysconfig:1.3
--- SOURCES/autofs.sysconfig:1.2 Wed Oct 23 15:26:30 2002
+++ SOURCES/autofs.sysconfig Mon Jun 26 23:32:08 2006
@@ -6,3 +6,6 @@
TIMEOUT=60
# Set it to yes if you want autofs to take maps from YP
USE_YP=no
+
+# Additional daemon options
+OPTIONS="-g"
================================================================
Index: SOURCES/autofs.init
diff -u SOURCES/autofs.init:1.28 SOURCES/autofs.init:1.29
--- SOURCES/autofs.init:1.28 Thu Dec 8 02:02:49 2005
+++ SOURCES/autofs.init Mon Jun 26 23:32:08 2006
@@ -54,11 +54,11 @@
map=`echo "/etc/autofs/$map" | sed -e
's:^/etc\/autofs//:/:'`
options=`echo "$options" | sed -e 's/\(^\|[
\t]\)-/\1/g'`
if [ -x $map ]; then
- echo "$DAEMON --timeout $TIMEOUT $dir program
$map $options"
+ echo "$DAEMON --timeout ${TIMEOUT} ${OPTIONS}
$dir program $map $options"
elif [ -f $map ]; then
- echo "$DAEMON --timeout $TIMEOUT $dir file $map
$options"
+ echo "$DAEMON --timeout ${TIMEOUT} ${OPTIONS}
$dir file $map $options"
else
- echo "$DAEMON --timeout $TIMEOUT $dir `basename
$map` $options"
+ echo "$DAEMON --timeout ${TIMEOUT} ${OPTIONS}
$dir `basename $map` $options"
fi
else
map=`echo $map | cut -f2- -d:`
@@ -66,7 +66,7 @@
if [ "$maptype" = "file" ]; then
map=`echo "/etc/autofs/$map" |
sed -e 's:^/etc\/autofs//:/:'`
fi
- echo "$DAEMON --timeout $TIMEOUT $dir
$maptype $map $options"
+ echo "$DAEMON --timeout $TIMEOUT
${OPTIONS} $dir $maptype $map $options"
fi
fi
fi
@@ -93,7 +93,7 @@
options=`echo "$options" | sed -e '
s/--*t\(imeout\)*[ \t]*[0-9][0-9]*//g
s/\(^\|[ \t]\)-/\1/g'`
- echo "$DAEMON --timeout $TIMEOUT $mountoptions \
+ echo "$DAEMON --timeout $TIMEOUT ${OPTIONS}
$mountoptions \
$dir yp $map $options"
fi
done
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/autofs.sysconfig?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/SOURCES/autofs.init?r1=1.28&r2=1.29&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit