#!/bin/sh # # $FreeBSD$ # # Purge pam_abl databases according to purge rules in config. # # If there is a global system configuration file, suck it in. # if [ -r /etc/defaults/periodic.conf ]; then . /etc/defaults/periodic.conf source_periodic_confs fi case "$daily_clean_pam_abl_enable" in [Yy][Ee][Ss]) echo "" echo "Purging pam_abl databases:" %%PREFIX%%/sbin/pam_abl -p -v ${daily_clean_pam_abl_config_file} [ $? -ne 0 ] && rc=3 || rc=0;; *) rc=0;; esac exit $rc