All of lore.kernel.org
 help / color / mirror / Atom feed
From: hariharan veerappan <hariharanneevee@gmail.com>
To: autofs@linux.kernel.org
Subject: automount daemon not running
Date: Tue, 2 Aug 2005 10:20:01 +0530	[thread overview]
Message-ID: <f16b04cf050801215045e5a24@mail.gmail.com> (raw)

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.

                 reply	other threads:[~2005-08-02  4:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f16b04cf050801215045e5a24@mail.gmail.com \
    --to=hariharanneevee@gmail.com \
    --cc=autofs@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.