ports/sysutils/cbsd/files/pkg-deinstall.in
Roman Bogorodskiy 871a6a8fdf sysutils/cbsd: update to 11.1.10
- update to 11.1.10
 - fix misc portlint/stage-qa warnings:
    * properly order USE*
    * move pkg-deinstall to files/pkg-deinstall.in to be able
      to use %%LOCALBASE%% substitution
    * strip unstripped binaries using STRIP_CMD

PR:		223881
Submitted by:	maintainer
2017-11-27 13:24:09 +00:00

23 lines
691 B
Bash

#!/bin/sh
case $2 in
POST-DEINSTALL)
echo
echo "The cbsd package has been deleted."
echo
echo "If you are *not* upgrading this package, you may want to"
echo "remove the following to complete the deinstallation process:"
echo
echo "1) Records in /etc/rc.conf"
echo
echo " cbsdrsyncd_enable=\"YES\""
echo " cbsdrsyncd_flags=\"--config=\$workdir/etc/rsyncd.conf\""
echo " cbsdd_enable=\"YES\""
echo " devfs_load_rulesets=\"YES\""
echo " cbsd_workdir=\"\$workdir\""
echo " rcshutdown_timeout=\"900\""
echo " sshd_flags=\"-oPort=22222\""
echo
echo "2) Remove %%LOCALBASE%%/etc/sudoers.d/cbsd_sudoers"
echo
;;
esac