1999-04-08 00:37:27 -04:00
|
|
|
#!/bin/sh
|
2000-07-01 13:14:31 -04:00
|
|
|
# $OpenBSD: DEINSTALL,v 1.3 2000/07/01 17:14:31 brad Exp $
|
1999-04-08 00:37:27 -04:00
|
|
|
#
|
|
|
|
# xtnpd de-installation
|
|
|
|
|
2000-07-01 13:14:31 -04:00
|
|
|
set -e
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
CONFIG_FILE=/etc/ntp.conf
|
|
|
|
|
|
|
|
if [ -f ${CONFIG_FILE} ]; then
|
1999-04-08 00:37:27 -04:00
|
|
|
echo
|
|
|
|
echo "+---------------"
|
1999-04-08 13:14:03 -04:00
|
|
|
echo "| To completely deinstall the $1 package you need to perform"
|
|
|
|
echo "| this step as root:"
|
1999-04-08 00:37:27 -04:00
|
|
|
echo "|"
|
|
|
|
echo "| rm -rf /etc/ntp.*"
|
|
|
|
echo "|"
|
|
|
|
echo "| Do not do this if you plan on re-installing $1"
|
|
|
|
echo "| at some future time."
|
|
|
|
echo "+---------------"
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|