#!/bin/sh case "$1" in install) . /etc/init.d/rc.functions if [ "$LOG_LEVEL" -lt 2 ]; then update_setting "LOG_LEVEL" "2" fi chmod 644 /etc/logrotate.conf chmod 644 /etc/logrotate.d/* ;; uninstall) ;; depend) echo "anacron" ;; *) echo "Usage $0 {install | uninstall | depend}" >&2 exit 1 esac