2001-02-07 12:43:21 -05:00
|
|
|
#!/bin/sh
|
2001-03-24 12:20:36 -05:00
|
|
|
# $OpenBSD: DEINSTALL,v 1.5 2001/03/24 17:20:36 danh Exp $
|
2001-02-07 12:43:21 -05:00
|
|
|
#
|
|
|
|
# ntp de-installation
|
|
|
|
|
|
|
|
set -e
|
2001-02-12 19:40:46 -05:00
|
|
|
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
|
|
|
|
PREFIX="${PKG_PREFIX:-/usr/local}"
|
2001-03-20 10:53:40 -05:00
|
|
|
CONFIG_DIR="${SYSCONFDIR}"
|
|
|
|
CONFIG_FILE="$CONFIG_DIR/ntp.conf"
|
2001-02-07 12:43:21 -05:00
|
|
|
|
2001-03-20 10:53:40 -05:00
|
|
|
if [ -f "$CONFIG_FILE" ]; then
|
2001-02-07 12:43:21 -05:00
|
|
|
echo
|
|
|
|
echo "+---------------"
|
2001-02-12 19:40:46 -05:00
|
|
|
echo "| To completely deinstall the $1 package you need to"
|
|
|
|
echo "| perform this step as root:"
|
2001-02-07 12:43:21 -05:00
|
|
|
echo "|"
|
2001-03-24 12:20:36 -05:00
|
|
|
echo "| rm -f $CONFIG_FILE"
|
2001-02-07 12:43:21 -05:00
|
|
|
echo "|"
|
2001-02-12 19:40:46 -05:00
|
|
|
echo "| Do not do this if you plan on re-installing $1 at"
|
|
|
|
echo "| some future time. You may also want to remove any"
|
|
|
|
echo "| leftover drift files or keys."
|
2001-02-07 12:43:21 -05:00
|
|
|
echo "+---------------"
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|