All of lore.kernel.org
 help / color / mirror / Atom feed
* automount daemon not running
@ 2005-08-02  4:50 hariharan veerappan
  0 siblings, 0 replies; only message in thread
From: hariharan veerappan @ 2005-08-02  4:50 UTC (permalink / raw)
  To: autofs

Hello all,

We are try to run the automount daemon.

We are using the below script file 
We are using the autofs version 4 support


#/etc/rc.d/init.d/auto_mount..

case "$1" in
	start)

	for mountspec in $(/bin/ls /etc/sysconfig/automount-config/*.auto)
	do
		MOUNTPOINT=/mount
		TIMEOUT=0

		MOUNT_BASE=${mountspec%.auto}

		echo "Starting automount for group ${MOUNT_BASE##*/}  ..."
		automount --timeout=${TIMEOUT} $MOUNTPOINT file \
		$MOUNT_BASE.map
		evaluate_retval
	done
	;;
	
	# assume all instances of automount were started by this script
	stop)
		echo -n "Stopping automount ..."
		# Unmount everything mounted by automount
		killall -USR1 automount
		killall automount
		evaluate_retval
		#exit 1
		;;
	restart)
		$0 stop
		sleep 1
		$0 start
		;;
	*)
		echo "Usage: $0 {start|stop|restart}"
		exit 1
		;;
esac
# End /etc/rc.d/init.d/auto_mount
#EOF

The daemon does not run in the background
please confirm and verify..
 
Thanks and regards
Hariharan.V.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-02  4:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02  4:50 automount daemon not running hariharan veerappan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.