The service name is automount but the init script is called autofs. Hence the service is missed by "killall". In addition, I suggest the following for the "killall" script: #!/bin/sh # Bring down all unneeded services that are still running (there shouldn't # be any, so this is just a sanity check) EXITCODE=0 for i in /var/lock/subsys/*; do # Get the subsystem name. subsys=${i#/var/lock/subsys/} # Bring the subsystem down. if [ -f /etc/rc.d/init.d/$subsys ]; then /etc/rc.d/init.d/$subsys stop elif [ -f /etc/rc.d/init.d/$subsys.init ]; then /etc/rc.d/init.d/$subsys.init stop else echo Warning: Could not stop \"$subsys\" \(no init script\). EXITCODE=1 fi done exit $EXITCODE
This is fixed in the latest autofs release in Raw Hide.