aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd/scripts
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-01-13 19:23:16 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-01-13 19:23:16 +0000
commit14fa0e677af0ee5b28e0f9ad9cf3b880d9b73e71 (patch)
treec590913da26eb44ca1bb7207c2ad6d1ee0bf1365 /contrib/amd/scripts
parentd3c8d7fa01684b85774ba991e024179cb8881d71 (diff)
parent75cb9b41f6a12ac4b05d08c9dcba1872400f9166 (diff)
Notes
Diffstat (limited to 'contrib/amd/scripts')
-rwxr-xr-xcontrib/amd/scripts/ctl-amd.in8
-rwxr-xr-xcontrib/amd/scripts/ctl-hlfsd.in6
-rw-r--r--contrib/amd/scripts/expn.12
-rwxr-xr-xcontrib/amd/scripts/expn.in2
4 files changed, 13 insertions, 5 deletions
diff --git a/contrib/amd/scripts/ctl-amd.in b/contrib/amd/scripts/ctl-amd.in
index 665a7dd89643..8eefde27feb1 100755
--- a/contrib/amd/scripts/ctl-amd.in
+++ b/contrib/amd/scripts/ctl-amd.in
@@ -4,6 +4,10 @@
#
# 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@
@@ -90,14 +94,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!"
diff --git a/contrib/amd/scripts/ctl-hlfsd.in b/contrib/amd/scripts/ctl-hlfsd.in
index a6e97f68edd9..e574d0d35393 100755
--- a/contrib/amd/scripts/ctl-hlfsd.in
+++ b/contrib/amd/scripts/ctl-hlfsd.in
@@ -4,6 +4,10 @@
#
# Package: am-utils-6.0
# Author: Erez Zadok <ezk@cs.columbia.edu>
+#
+# chkconfig: 345 73 7
+# description: hlfsd is a daemon similar to amd, used to redirect user
+# mail to home directory of the user
# set path
prefix=@prefix@
@@ -90,7 +94,7 @@ case "$1" in
echo "killing hlfsd..."
ctl-hlfsd stop
echo "Waiting for 10 seconds..."
- sleep 10 # hope that's enough
+ sleep 10 # hope that would be enough
echo "Restarting hlfsd..."
ctl-hlfsd start
;;
diff --git a/contrib/amd/scripts/expn.1 b/contrib/amd/scripts/expn.1
index b2bd1b6f6ed3..5795241e8584 100644
--- a/contrib/amd/scripts/expn.1
+++ b/contrib/amd/scripts/expn.1
@@ -16,7 +16,7 @@ $sockaddr = 'S n a4 x8';
# system requirements:
# must have 'nslookup' and 'hostname' programs.
-# $Header: /home/muir/bin/RCS/expn,v 3.9 1995/10/02 17:51:35 muir Exp muir $
+# $Header: /src/cvsroot/am-utils-6.0/scripts/expn.1,v 1.1.1.1 1998/11/05 02:04:58 ezk Exp $
# TODO:
# less magic should apply to command-line addresses
diff --git a/contrib/amd/scripts/expn.in b/contrib/amd/scripts/expn.in
index b2bd1b6f6ed3..5bd4200ef013 100755
--- a/contrib/amd/scripts/expn.in
+++ b/contrib/amd/scripts/expn.in
@@ -16,7 +16,7 @@ $sockaddr = 'S n a4 x8';
# system requirements:
# must have 'nslookup' and 'hostname' programs.
-# $Header: /home/muir/bin/RCS/expn,v 3.9 1995/10/02 17:51:35 muir Exp muir $
+# $Header: /src/cvsroot/am-utils-6.0/scripts/expn.in,v 1.1.1.1 1998/11/05 02:04:57 ezk Exp $
# TODO:
# less magic should apply to command-line addresses