Line 0
Link Here
|
|
|
1 |
#!/bin/sh |
2 |
case $2 in |
3 |
POST-DEINSTALL) |
4 |
echo |
5 |
echo "The cbsd package has been deleted." |
6 |
echo "If you're *not* upgrading and won't be using it any longer, you may want to" |
7 |
echo "check some files in the system which could modify by cbsd and remove this" |
8 |
echo "changes for complete deinstall. Specifically:" |
9 |
echo |
10 |
echo "1) follow records in the /var/cron/tabs/root file:" |
11 |
echo "* * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_minutes \\" |
12 |
echo "/usr/sbin/periodic minutes > /dev/null 2>&1" |
13 |
echo "0 * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_hourly \\" |
14 |
echo "/usr/sbin/periodic hourly > /dev/null 2>&1" |
15 |
echo |
16 |
echo "2) follow record in the /etc/periodic.conf file:" |
17 |
echo "local_periodic=\"/usr/local/etc/periodic \$workdir/etc/periodic\"" |
18 |
echo |
19 |
echo "3) follow records in the /etc/rc.conf file:" |
20 |
echo "cbsdrsyncd_enable=\"YES\"" |
21 |
echo "cbsdrsyncd_flags=\"--config=\$workdir/etc/rsyncd.conf\"" |
22 |
echo "cbsdd_enable=\"YES\"" |
23 |
echo "devfs_load_rulesets=\"YES\"" |
24 |
echo "cbsd_workdir=\"/usr/jails\"" |
25 |
echo "rcshutdown_timeout=\"900\"" |
26 |
echo "sshd_flags=\"-oPort=22222\"" |
27 |
echo |
28 |
echo "4) /usr/local/etc/sudoers.d/cbsd_sudoers file" |
29 |
echo |
30 |
;; |
31 |
esac |