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
commit75cb9b41f6a12ac4b05d08c9dcba1872400f9166 (patch)
tree61bf33c6051ae2a19db07aea7c3c0ed78913fe61 /contrib/amd/scripts
parent37d7e39316c27335d27d2cbf88c7bd4444b50e88 (diff)
downloadsrc-75cb9b41f6a12ac4b05d08c9dcba1872400f9166.tar.gz
src-75cb9b41f6a12ac4b05d08c9dcba1872400f9166.zip
Virgin import of AMD (am-utils) v6.0
Notes
Notes: svn path=/vendor/amd/dist/; revision=42629
Diffstat (limited to 'contrib/amd/scripts')
-rw-r--r--contrib/amd/scripts/amd.conf.52
-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
5 files changed, 14 insertions, 6 deletions
diff --git a/contrib/amd/scripts/amd.conf.5 b/contrib/amd/scripts/amd.conf.5
index cf9e15ee71c0..ecc88c087a6e 100644
--- a/contrib/amd/scripts/amd.conf.5
+++ b/contrib/amd/scripts/amd.conf.5
@@ -38,7 +38,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
-.\" $Id: amd.conf.5,v 5.2.2.1 1997/02/09 15:11:15 ezk beta $
+.\" $Id: amd.conf.5,v 1.1.1.1 1998/11/05 02:04:58 ezk Exp $
.\"
.TH AMD.CONF 8 "7 August 1997"
.SH NAME
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