Author: pluto                        Date: Fri Nov 14 09:28:38 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- minimal hack to make it works. autofs5 has totally different syntax.

---- Files affected:
SOURCES:
   autofs.init (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SOURCES/autofs.init
diff -u SOURCES/autofs.init:1.30 SOURCES/autofs.init:1.31
--- SOURCES/autofs.init:1.30    Tue Sep 26 20:52:12 2006
+++ SOURCES/autofs.init Fri Nov 14 10:28:32 2008
@@ -107,7 +107,8 @@
        if [ ! -f /var/lock/subsys/autofs ]; then
                msg_starting automounter
                busy
-               getmounts | sh
+#              getmounts | sh
+               $DAEMON --timeout $TIMEOUT /etc/autofs/auto.master
                RETVAL=$?
                [ $RETVAL -eq 0 ] && ok || fail
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/autofs
@@ -139,15 +140,15 @@
        stop
        start
        ;;
-  status)
-       nls "Configured Mount Points:"
-       getmounts
-       echo ""
-       nls "Active Mount Points:"
-       ps axw|grep "[0-9]:[0-9][0-9] /usr/sbin/automount " | (
-               while read pid tt stat time command; do echo $command; done
-       )
-       ;;
+#  status)
+#      nls "Configured Mount Points:"
+#      getmounts
+#      echo ""
+#      nls "Active Mount Points:"
+#      ps axw|grep "[0-9]:[0-9][0-9] /usr/sbin/automount " | (
+#              while read pid tt stat time command; do echo $command; done
+#      )
+#      ;;
   *)
        msg_usage "$0 {start|stop|restart|force-reload|status}"
        exit 3
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/autofs.init?r1=1.30&r2=1.31&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to