To run the AutoFS shutdown script,
enter the following command at the HP-UX prompt:
/sbin/init.d/autofs stop
In the /etc/rc.config.d/nfsconf file, set the value of AUTOFS variable to 0, as follows:
AUTOFS=0
IMPORTANT: Do not disable AutoFS by terminating the automountd daemon with the kill command. It does not unmount AutoFS mount points
before it terminates. Use the autofs stop command instead.