X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=autofs.init;fp=autofs.init;h=076f40547776697be15ef91d90e58ccfe9366532;hb=66a4da229f3fa9adb6ba31b3305756f1baa5006f;hp=1ba4b2f47404eb7ff2c7b48563c82dd3fc4694de;hpb=041acec83c77d596fde7a5ce8eab2611e35f1d17;p=packages%2Fautofs.git diff --git a/autofs.init b/autofs.init index 1ba4b2f..076f405 100644 --- a/autofs.init +++ b/autofs.init @@ -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