Would somebody with access to RHEL 6 please see if this bug exists in RHEL's 
version? (This changed from the old stop; start definition to this function 
sometime between the public RH beta, and the SL6 beta.)

Notice the lack of "$prog" in the SL6 version.

This prevents "service autofs restart" from working. 

Thanks

My patch:

diff --git a/autofs b/autofs
index d7afe85..75065e7 100755
--- a/autofs
+++ b/autofs
@@ -126,7 +126,7 @@ function stop() {
 }
 
 function restart() {
-       status > /dev/null 2>&1
+       status $prog > /dev/null 2>&1
        if [ $? -eq 0 ]; then
                stop
        fi

--
Don Krause                                                                   
Head Systems Geek, 
Waver of Deceased Chickens.
Optivus Proton Therapy, Inc.
P.O. Box 608
Loma Linda, California 92354
909.799.8327 Tel
909.799.8366 Fax
[email protected]
www.optivus.com
"This message represents the official view of the voices in my head."






Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to