touch /var/lock/subsys/autofs at startup
PATCH 1/1 touch /var/lock/subsys/autofs at startup
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
samples/rc.autofs.in +1 -0
@@ -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