+tapecycle=`amgetconf$SUF $conf tapecycle "$@"`
+rc=$?
+if test $rc -ne 0 ; then
+ echo "amcleanup: 'amgetconf$SUF tapecycle' exited with status: $rc " 1>&2
+ exit 1
+fi
+dumpuser=`amgetconf$SUF $conf dumpuser "$@"`
+rc=$?
+if test $rc -ne 0 ; then
+ echo "amcleanup: 'amgetconf$SUF $conf dumpuser' exited with status: $rc" 1>&2
+ exit 1
+fi
+
+# Check for running processes which should not be
+# running right now.
+if test ${KILL_ENABLE} -eq 1 ; then
+ if test -h /proc/1/exe ; then
+ USER_PROCESS_NAMES="\
+ @libexecdir@/amandad \
+ @libexecdir@/amcleanupdisk \
+ @libexecdir@/amidxtaped \
+ @libexecdir@/amindexd \
+ @libexecdir@/amlogroll \
+ @libexecdir@/amtrmidx \
+ @libexecdir@/amtrmlog \
+ @libexecdir@/chg-chio \
+ @libexecdir@/chg-chs \
+ @libexecdir@/chg-disk \
+ @libexecdir@/chg-iomega \
+ @libexecdir@/chg-juke \
+ @libexecdir@/chg-manual \
+ @libexecdir@/chg-mcutil \
+ @libexecdir@/chg-mtx \
+ @libexecdir@/chg-multi \
+ @libexecdir@/chg-null \
+ @libexecdir@/chg-rait \
+ @libexecdir@/chg-rth \
+ @libexecdir@/chg-scsi \
+ @libexecdir@/chg-zd-mtx \
+ @libexecdir@/chunker \
+ @libexecdir@/driver \
+ @libexecdir@/generic-dumper \
+ @libexecdir@/gnutar \
+ @libexecdir@/noop \
+ @libexecdir@/patch-system \
+ @libexecdir@/selfcheck \
+ @libexecdir@/sendbackup \
+ @libexecdir@/sendsize \
+ @libexecdir@/star \
+ @libexecdir@/taper \
+ @libexecdir@/versionsuffix \
+ @sbindir@/amaddclient \
+ @sbindir@/amadmin \
+ @sbindir@/amaespipe \
+ @sbindir@/amcheckdb \
+ @sbindir@/amcrypt \
+ @sbindir@/amcryptsimple \
+ @sbindir@/amdd \
+ @sbindir@/amdump \
+ @sbindir@/amfetchdump \
+ @sbindir@/amflush \
+ @sbindir@/amgetconf \
+ @sbindir@/amgpgcrypt \
+ @sbindir@/amlabel \
+ @sbindir@/ammt \
+ @sbindir@/amoverview \
+ @sbindir@/amplot \
+ @sbindir@/amrecover \
+ @sbindir@/amreport \
+ @sbindir@/amrestore \
+ @sbindir@/amrmtape \
+ @sbindir@/amserverconfig \
+ @sbindir@/amstatus \
+ @sbindir@/amtape \
+ @sbindir@/amtapetype \
+ @sbindir@/amtoc \
+ @sbindir@/amverify \
+ @sbindir@/amverifyrun"