2014-02-04 01:52:58 +01:00
|
|
|
#!/bin/sh
|
|
|
|
case $2 in
|
|
|
|
POST-DEINSTALL)
|
|
|
|
echo
|
|
|
|
echo "The cbsd package has been deleted."
|
2014-07-10 09:39:26 +02:00
|
|
|
echo
|
|
|
|
echo "If you are *not* upgrading this package, you may want to"
|
|
|
|
echo "remove the following to complete the deinstallation process:"
|
|
|
|
echo
|
2014-09-27 16:02:36 +02:00
|
|
|
echo "1) Records in /etc/rc.conf"
|
2014-07-10 09:39:26 +02:00
|
|
|
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
|
2014-09-27 16:02:36 +02:00
|
|
|
echo "2) Remove /usr/local/etc/sudoers.d/cbsd_sudoers"
|
2014-02-04 01:52:58 +01:00
|
|
|
echo
|
|
|
|
;;
|
|
|
|
esac
|