diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-10-20 01:31:19 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-10-20 01:31:19 +0000 |
commit | 90435c82444db3fa6977a95fabee7718d6808ebc (patch) | |
tree | 1c143c745aff23457ab2196e490e5673e48a03e4 | |
parent | 378f17765bce280d2d27b9c4d1f170308ba18695 (diff) | |
download | bcfg2-90435c82444db3fa6977a95fabee7718d6808ebc.tar.gz bcfg2-90435c82444db3fa6977a95fabee7718d6808ebc.tar.bz2 bcfg2-90435c82444db3fa6977a95fabee7718d6808ebc.zip |
EncapPackages: Don't need preremove here, as the packages now remove
their own daemontools services if they exist in their preremove scripts.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2450 ce84e21b-d406-0410-9b95-82705330c041
-rwxr-xr-x | encap/src/bcfg2-site/bcfg2-site-RENAME/preremove | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/preremove b/encap/src/bcfg2-site/bcfg2-site-RENAME/preremove deleted file mode 100755 index 26e1b05ab..000000000 --- a/encap/src/bcfg2-site/bcfg2-site-RENAME/preremove +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -e - -umask 002 -BASEDIR="${ENCAP_TARGET}" # Usually /usr/local -PKGDIR="${ENCAP_SOURCE}/${ENCAP_PKGNAME}" # Ususally /usr/local/encap/<pkgname> - -printf "Running ${ENCAP_PKGNAME} preremove script...\n" -date - -# ostiary (daemontools) -if [ -h /service/ostiary ]; then - printf "INFO: Removing /service/ostiary...\n" - /command/svrm /service/ostiary -fi - -# bcfg2-client (daemontools) -if [ -h /service/bcfg2-client ]; then - printf "INFO: Removing /service/bcfg2-client...\n" - /command/svrm /service/bcfg2-client -fi - -printf "Finished ${ENCAP_PKGNAME} preremove script.\n" - -exit 0 |