path: autofs_5.1.9-1.2/CHANGELOG - make documentation for set-log-priority clearer. - fix timeout in connect_nb(). - fix pidof init script usage. - check for path mount location in generic module. - dont fail mount on access fail. path: autofs_5.1.9-1.2/samples/rc.autofs.in function restart() { stop while [ -n "`pidof $prog`" ] ; do sleep 5 done path: autofs_5.1.9-1.2/samples/rc.autofs.in killall -TERM $prog >& /dev/null RETVAL=$? [ $RETVAL = 0 -a -z "`pidof $prog`" ] || sleep 20 count=`expr $count + 1` done path: autofs_5.1.9-1.2/samples/rc.autofs.in function reload() { pid=`pidof $prog` if [ -z $pid ]; then echo $"$prog not running" path: autofs_5.1.9-1.2/samples/rc.autofs.in count=`expr $count + 1` done if [ -z "`pidof $prog`" ] ; then echo "done." else path: autofs_5.1.9-1.2/samples/rc.autofs.in echo -n $"Stopping $prog: " count=0 while [ -n "`pidof $prog`" -a $count -lt 15 ] ; do killall -TERM $prog >& /dev/null RETVAL=$? path: autofs_5.1.9-1.2/redhat/autofs.init.in return $RETVAL fi pid=`pidof $prog` if [ -z $pid ]; then echo $"$prog not running" path: autofs_5.1.9-1.2/redhat/autofs.init.in RETVAL=1 fi if [ -n "`pidof $prog`" ] ; then failure "$prog shutdown" else path: autofs_5.1.9-1.2/redhat/autofs.init.in killproc $prog -TERM >& /dev/null RETVAL=$? [ $RETVAL = 0 -a -z "`pidof $prog`" ] || sleep 20 count=`expr $count + 1` done path: autofs_5.1.9-1.2/redhat/autofs.init.in if [ $? -eq 0 ]; then stop if [ -n "`pidof $prog`" ]; then # If we failed to stop, try at least one more time # after waiting a little while path: autofs_5.1.9-1.2/redhat/autofs.init.in sleep 20 stop auto_pid=`pidof $prog` if [ -n "$auto_pid" ]; then kill -9 $auto_pid path: autofs_5.1.9-1.2/redhat/autofs.init.in echo -n $"Stopping $prog: " count=0 while [ -n "`pidof $prog`" -a $count -lt 15 ] ; do killproc $prog -TERM >& /dev/null RETVAL=$?