diff options
Diffstat (limited to 'encap/src/bcfg2-site/bcfg2-site-RENAME/preremove')
-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 |