From: Paweł Sikora Date: Fri, 14 Nov 2008 09:28:32 +0000 (+0000) Subject: - minimal hack to make it works. autofs5 has totally different syntax. X-Git-Tag: auto/th/autofs-5_0_4-1~13 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=66a4da229f3fa9adb6ba31b3305756f1baa5006f;hp=041acec83c77d596fde7a5ce8eab2611e35f1d17;p=packages%2Fautofs.git - minimal hack to make it works. autofs5 has totally different syntax. Changed files: autofs.init -> 1.31 --- 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