# /etc/rc.d/init.d/autofs
#
# rc file for automount using a Sun-style "master map".
-# We first look for a local /etc/auto.master, then a YP
+# We first look for a local /etc/autofs/auto.master, then a YP
# map with that name
#
# chkconfig: - 72 08
# them, and unmounts them later when you are not using them.
# processname: automount
# Note that there may be multiple processes names automount
-# config: /etc/auto.master
+# config: /etc/autofs/auto.master
# Note that all other config files are automatically reloaded
# and may be different on different systems; we can ignore them
# here
echo "Automounter not running"
exit 1
fi
- echo "Checking for changes to /etc/auto.master ...."
+ echo "Checking for changes to /etc/autofs/auto.master ...."
TMP1=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1; }
TMP2=`mktemp /tmp/autofs.XXXXXX` || { echo "could not make temp file" >&2; exit 1; }
getmounts >$TMP1