autofs-5.0.5 - fix restart
From: Ian Kent <raven@themaw.net>
The recent LSB improvement change has introduced a problem with
the restart action.
---
redhat/autofs.init.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- autofs-5.0.5.orig/redhat/autofs.init.in
+++ autofs-5.0.5/redhat/autofs.init.in
@@ -126,7 +126,7 @@ function stop() {
}
function restart() {
- status > /dev/null 2>&1
+ status autofs > /dev/null 2>&1
if [ $? -eq 0 ]; then
stop
fi