]> git.pld-linux.org Git - packages/autofs.git/commitdiff
- minimal hack to make it works. autofs5 has totally different syntax.
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 14 Nov 2008 09:28:32 +0000 (09:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    autofs.init -> 1.31

autofs.init

index 1ba4b2f47404eb7ff2c7b48563c82dd3fc4694de..076f40547776697be15ef91d90e58ccfe9366532 100644 (file)
@@ -107,7 +107,8 @@ start() {
        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 @@ case "$1" in
        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
This page took 0.085534 seconds and 4 git commands to generate.