#!/bin/bash set -e CONF="auth,authpriv.* -/var/log/auth.log *.*;auth,authpriv.none -/var/log/sys.log daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log mail.* -/var/log/mail.log user.* -/var/log/user.log #*.emerg * *.emerg -/var/log/kern.log" case $1 in preinst) exit 0 ;; postinst) if [ ! -f ${TARGET}/etc/syslog.conf ]; then echo "${CONF}" > ${TARGET}/etc/syslog.conf fi ;; prerm) exit 0 ;; postrm) exit 0 ;; esac