aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cbsd/pkg-deinstall
blob: 5ec5937868339e1262424077f79411b512618ef3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 /usr/local/etc/sudoers.d/cbsd_sudoers"
    echo
  ;;
esac