aboutsummaryrefslogtreecommitdiff
path: root/dns/totd/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'dns/totd/pkg-install')
-rw-r--r--dns/totd/pkg-install45
1 files changed, 0 insertions, 45 deletions
diff --git a/dns/totd/pkg-install b/dns/totd/pkg-install
deleted file mode 100644
index de1a95c9dfbf..000000000000
--- a/dns/totd/pkg-install
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh
-# $OpenBSD: INSTALL,v 1.1 2000/06/11 01:15:53 fgsch Exp $
-#
-# Post-installation setup of totd - based on majordomo INSTALL script
-# from daniel@reichardt.ch
-
-set -e
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-PREFIX=${PKG_PREFIX:-/usr/local}
-
-do_install_configuration()
-{
- echo -n "Let's see if there is already a configuration file... "
- if [ -f /etc/totd.conf ]; then
- echo "yes"
- echo "Please compare your existing configuration with"
- echo "${PREFIX}/share/totd/totd.conf.sample"
- else
- echo "no"
- echo -n "Copying sample configuration file... "
- install -o root -g wheel -m 644 ${PREFIX}/share/totd/totd.conf.sample \
- /etc/totd.conf
- echo "ok"
- echo "Please review new configuration /etc/totd.conf"
- fi
-}
-
-if [ $# -ne 2 ]; then
- echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
- exit 1
-fi
-
-case $2 in
- PRE-INSTALL)
- ;;
- POST-INSTALL)
- do_install_configuration
- ;;
- *)
- echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
- exit 1
- ;;
-esac
-
-exit 0