Hi, Ian, list,

It turns out that a condrestart will fail if there were previously no
maps, and then you populate some.  This is a pretty trivial case to
fix, and it looks right to me.  I tested it, and it now works as expected.

Comments welcome as usual.

-Jeff

diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
index f6f0444..5b71481 100644
--- a/samples/rc.autofs.in
+++ b/samples/rc.autofs.in
@@ -560,6 +560,7 @@ case "$1" in
        else
            echo -n $"No Mountpoints Defined"
            success "$prog startup"
+           touch /var/lock/subsys/autofs
        fi
        rm -f $TMP
        echo

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to