summaryrefslogtreecommitdiff
path: root/contrib/amd/scripts/ctl-amd.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>1999-01-21 00:55:32 +0000
committercvs2svn <cvs2svn@FreeBSD.org>1999-01-21 00:55:32 +0000
commit76b5366091f76c9bc73570149ef5055648fc2c39 (patch)
tree590d020e0f2a5bea6e09d66d951a674443b21d67 /contrib/amd/scripts/ctl-amd.in
parent4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff)
This commit was manufactured by cvs2svn to create tagrelease/3.0.0
'RELENG_3_0_0_RELEASE'.
Diffstat (limited to 'contrib/amd/scripts/ctl-amd.in')
-rwxr-xr-xcontrib/amd/scripts/ctl-amd.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/contrib/amd/scripts/ctl-amd.in b/contrib/amd/scripts/ctl-amd.in
index 8eefde27feb1..665a7dd89643 100755
--- a/contrib/amd/scripts/ctl-amd.in
+++ b/contrib/amd/scripts/ctl-amd.in
@@ -4,10 +4,6 @@
#
# Package: am-utils-6.0
# Author: Erez Zadok <ezk@cs.columbia.edu>
-#
-# chkconfig: 345 72 8
-# description: amd is the Berkeley AutoMount Daemon, used for \
-# automatic filesystem mounting
# set path
prefix=@prefix@
@@ -94,14 +90,14 @@ case "$1" in
'stop')
# prepend space to program name to ensure only amd process dies
- echo "killing amd..."
killproc " amd"
- wait4amd2die
;;
'restart')
# kill amd, wait for it to die, then restart
+ echo "killing amd..."
ctl-amd stop
+ wait4amd2die
if [ $? != 0 ]
then
echo "NOT restarting amd!"